Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance/hints viewer openocd #1476

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
],
"typescript.updateImportsOnFileMove.enabled": "always",
"workbench.editor.enablePreview": true,
"iis.configDir": ""
"iis.configDir": "",
"idf.pythonInstallPath": "/opt/homebrew/bin/python3",
"idf.espIdfPath": "/Users/radurentea/esp/v5.4/esp-idf",
"idf.toolsPath": "/Users/radurentea/esp/esptools"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove local settings set here.

}
8 changes: 7 additions & 1 deletion l10n/bundle.l10n.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,11 @@
"Warning: Could not fully remove setting {0}: {1}": "Advertencia: No se pudo eliminar completamente la configuración {0}: {1}",
"ESP-IDF settings removed successfully.": "Configuraciones de ESP-IDF eliminadas exitosamente.",
"Failed to remove settings: {0}": "Error al eliminar las configuraciones: {0}",
"Error: {0}": "Error: {0}"
"Error: {0}": "Error: {0}",
"🔗 Reference Documentation": "🔗 Documentación de Referencia",
"Open {0}": "Abrir {0}",
"💡 Show Hints": "💡 Mostrar Pistas",
"Mute for this session": "Silenciar para esta sesión",
"Hint notifications muted for this session. You can still access hints manually in ESP-IDF bottom panel": "Notificaciones de pistas silenciadas para esta sesión. Todavía puede acceder a las pistas manualmente en el panel inferior de ESP-IDF",
"Possible hint found for the error: {0}": "Posible pista encontrada para el error: {0}"
}
8 changes: 7 additions & 1 deletion l10n/bundle.l10n.pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,11 @@
"Warning: Could not fully remove setting {0}: {1}": "Aviso: Não foi possível remover completamente a configuração {0}: {1}",
"ESP-IDF settings removed successfully.": "Configurações ESP-IDF removidas com sucesso.",
"Failed to remove settings: {0}": "Falha ao remover configurações: {0}",
"Error: {0}": "Erro: {0}"
"Error: {0}": "Erro: {0}",
"🔗 Reference Documentation": "🔗Documentação de Referência",
"Open {0}": "Abrir {0}",
"💡 Show Hints": "💡 Mostrar Dicas",
"Mute for this session": "Silenciar para esta sessão",
"Hint notifications muted for this session. You can still access hints manually in ESP-IDF bottom panel": "Notificações de dicas silenciadas para esta sessão. Você ainda pode acessar dicas manualmente no painel inferior do ESP-IDF",
"Possible hint found for the error: {0}": "Possível dica encontrada para o erro: {0}"
}
8 changes: 7 additions & 1 deletion l10n/bundle.l10n.ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,11 @@
"Warning: Could not fully remove setting {0}: {1}": "Предупреждение: Не удалось полностью удалить настройку {0}: {1}",
"ESP-IDF settings removed successfully.": "Настройки ESP-IDF успешно удалены.",
"Failed to remove settings: {0}": "Не удалось удалить настройки: {0}",
"Error: {0}": "Ошибка: {0}"
"Error: {0}": "Ошибка: {0}",
"🔗 Reference Documentation": "🔗 Справочная Документация",
"Open {0}": "Открыть {0}",
"💡 Show Hints": "💡 Показать Подсказки",
"Mute for this session": "Отключить звук для этой сессии",
"Hint notifications muted for this session. You can still access hints manually in ESP-IDF bottom panel": "Уведомления с подсказками отключены для этой сессии. Вы все еще можете получить доступ к подсказкам вручную в нижней панели ESP-IDF",
"Possible hint found for the error: {0}": "Возможная подсказка найдена для ошибки: {0}"
}
8 changes: 7 additions & 1 deletion l10n/bundle.l10n.zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,11 @@
"Warning: Could not fully remove setting {0}: {1}": "警告:无法完全删除设置 {0}:{1}",
"ESP-IDF settings removed successfully.": "ESP-IDF设置已成功删除。",
"Failed to remove settings: {0}": "删除设置失败:{0}",
"Error: {0}": "错误:{0}"
"Error: {0}": "错误:{0}",
"🔗 Reference Documentation": "🔗 参考文档",
"Open {0}": "打开 {0}",
"💡 Show Hints": "💡 显示提示",
"Mute for this session": "为本次会话静音",
"Hint notifications muted for this session. You can still access hints manually in ESP-IDF bottom panel": "本次会话的提示通知已静音。您仍然可以在 ESP-IDF 底部面板中手动访问提示",
"Possible hint found for the error: {0}": "已找到可能的错误提示:{0}"
}
49 changes: 42 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@
"column": 3,
"severity": 4,
"message": 5
}
},
"source": "esp-idf"
},
{
"name": "espIdfLd",
Expand All @@ -292,7 +293,8 @@
"file": 1,
"line": 2,
"message": 3
}
},
"source": "esp-idf"
}
],
"viewsContainers": {
Expand All @@ -314,9 +316,9 @@
"views": {
"espIdfHints": [
{
"id": "errorHints",
"id": "idfErrorHints",
"name": "Error Hints",
"title": "Error Hints ($errorHints.count$)"
"title": "Error Hints ($idfErrorHints.count$)"
}
],
"debug": [
Expand Down Expand Up @@ -398,10 +400,15 @@
}
],
"view/title": [
{
"command": "espIdf.errorHints.clearAll",
"when": "view == idfErrorHints",
"group": "navigation"
},
{
"command": "espIdf.searchError",
"group": "navigation",
"when": "view == errorHints"
"when": "view == idfErrorHints"
},
{
"command": "espIdf.partition.table.refresh",
Expand Down Expand Up @@ -444,6 +451,14 @@
}
],
"view/item/context": [
{
"command": "espIdf.errorHints.clearBuildErrors",
"when": "view == idfErrorHints && viewItem == buildError"
},
{
"command": "espIdf.errorHints.clearOpenOCDErrors",
"when": "view == idfErrorHints && viewItem == openocdError"
},
{
"command": "esp.rainmaker.backend.logout",
"when": "view == espRainmaker && viewItem == account",
Expand Down Expand Up @@ -1199,18 +1214,38 @@
}
],
"commands": [
{
"command": "espIdf.errorHints.clearAll",
"title": "Clear All Error Hints",
"icon": "$(clear-all)",
"category": "ESP-IDF"
},
{
"command": "espIdf.errorHints.clearBuildErrors",
"title": "Clear Build Error Hints",
"icon": "$(trash)",
"category": "ESP-IDF"
},
{
"command": "espIdf.errorHints.clearOpenOCDErrors",
"title": "Clear OpenOCD Error Hints",
"icon": "$(trash)",
"category": "ESP-IDF"
},
{
"command": "espIdf.removeEspIdfSettings",
"title": "%espIdf.removeEspIdfSettings.title%",
"category": "ESP-IDF"
},
{
"command": "espIdf.openWalkthrough",
"title": "ESP-IDF: Open Get Started Walkthrough"
"title": "ESP-IDF: Open Get Started Walkthrough",
"category": "ESP-IDF"
},
{
"command": "espIdf.searchError",
"title": "%espIdf.searchError.title%"
"title": "%espIdf.searchError.title%",
"category": "ESP-IDF"
},
{
"command": "espIdf.createFiles",
Expand Down
Loading