Add VS Code Extension (#15027)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
391dc72049
commit
848c5cd506
7 changed files with 339 additions and 19 deletions
|
|
@ -13,6 +13,7 @@ from ultralytics.utils import (
|
|||
DEFAULT_CFG,
|
||||
DEFAULT_CFG_DICT,
|
||||
DEFAULT_CFG_PATH,
|
||||
IS_VSCODE,
|
||||
LOGGER,
|
||||
RANK,
|
||||
ROOT,
|
||||
|
|
@ -25,6 +26,7 @@ from ultralytics.utils import (
|
|||
checks,
|
||||
colorstr,
|
||||
deprecation_warn,
|
||||
vscode_msg,
|
||||
yaml_load,
|
||||
yaml_print,
|
||||
)
|
||||
|
|
@ -834,6 +836,10 @@ def entrypoint(debug=""):
|
|||
# Show help
|
||||
LOGGER.info(f"💡 Learn more at https://docs.ultralytics.com/modes/{mode}")
|
||||
|
||||
# Recommend VS Code extension
|
||||
if IS_VSCODE and SETTINGS.get("vscode_msg", True):
|
||||
LOGGER.info(vscode_msg())
|
||||
|
||||
|
||||
# Special modes --------------------------------------------------------------------------------------------------------
|
||||
def copy_default_cfg():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue