-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
vscode: add support for debug/toolbar
, debug/variables/context
menus contribution and debugState
when
clause context
#11871
Comments
vince-fugnitto
added
vscode
issues related to VSCode compatibility
debug
issues that related to debug functionality
labels
Nov 16, 2022
This was referenced Nov 18, 2022
Closed
I will take care of this issue. |
kittaakos
pushed a commit
to kittaakos/arduino-ide
that referenced
this issue
Nov 24, 2022
Patch for: - eclipse-theia/theia#11871 - eclipse-theia/theia#11879 - eclipse-theia/theia#11880 - eclipse-theia/theia#11885 - eclipse-theia/theia#11886 - eclipse-theia/theia#11916 Closes arduino#1582 Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
to arduino/arduino-ide
that referenced
this issue
Nov 28, 2022
Patch for: - eclipse-theia/theia#11871 - eclipse-theia/theia#11879 - eclipse-theia/theia#11880 - eclipse-theia/theia#11885 - eclipse-theia/theia#11886 - eclipse-theia/theia#11916 Closes #1582 Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
to arduino/arduino-ide
that referenced
this issue
Nov 29, 2022
Patch for: - eclipse-theia/theia#11871 - eclipse-theia/theia#11879 - eclipse-theia/theia#11880 - eclipse-theia/theia#11885 - eclipse-theia/theia#11886 - eclipse-theia/theia#11916 Closes #1582 Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
to arduino/arduino-ide
that referenced
this issue
Nov 29, 2022
Patch for: - eclipse-theia/theia#11871 - eclipse-theia/theia#11879 - eclipse-theia/theia#11880 - eclipse-theia/theia#11885 - eclipse-theia/theia#11886 - eclipse-theia/theia#11916 Closes #1582 Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
to arduino/arduino-ide
that referenced
this issue
Dec 1, 2022
Patch for: - eclipse-theia/theia#11871 - eclipse-theia/theia#11879 - eclipse-theia/theia#11880 - eclipse-theia/theia#11885 - eclipse-theia/theia#11886 - eclipse-theia/theia#11916 Closes #1582 Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
to kittaakos/theia
that referenced
this issue
Dec 13, 2022
- feat: aded support for `debug/toolbar` and `debug/variables/context`, - feat: added support for `debugState` when context (eclipse-theia#11871), - feat: can customize debug session timeout, and error handling (eclipse-theia#11879), - fix: the `debugType` context that is not updated, - fix: `configure` must happen after receiving capabilities (eclipse-theia#11886), - fix: added missing conext menu in the _Variables_ view, - fix: handle `setFunctionBreakboints` response with no `body` (eclipse-theia#11885), - fix: `DebugExt` fires `didStart` event on `didCreate` (eclipse-theia#11916) Closes eclipse-theia#11871 Closes eclipse-theia#11879 Closes eclipse-theia#11885 Closes eclipse-theia#11886 Closes eclipse-theia#11916 Signed-off-by: Akos Kitta <[email protected]>
1 task
kittaakos
pushed a commit
to kittaakos/theia
that referenced
this issue
Dec 13, 2022
- feat: aded support for `debug/toolbar` and `debug/variables/context`, - feat: added support for `debugState` when context (eclipse-theia#11871), - feat: can customize debug session timeout, and error handling (eclipse-theia#11879), - fix: the `debugType` context that is not updated, - fix: `configure` must happen after receiving capabilities (eclipse-theia#11886), - fix: added missing conext menu in the _Variables_ view, - fix: handle `setFunctionBreakboints` response with no `body` (eclipse-theia#11885), - fix: `DebugExt` fires `didStart` event on `didCreate` (eclipse-theia#11916) Closes eclipse-theia#11871 Closes eclipse-theia#11879 Closes eclipse-theia#11885 Closes eclipse-theia#11886 Closes eclipse-theia#11916 Signed-off-by: Akos Kitta <[email protected]> s Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
to kittaakos/theia
that referenced
this issue
Dec 13, 2022
- feat: aded support for `debug/toolbar` and `debug/variables/context`, - feat: added support for `debugState` when context (eclipse-theia#11871), - feat: can customize debug session timeout, and error handling (eclipse-theia#11879), - fix: the `debugType` context that is not updated, - fix: `configure` must happen after receiving capabilities (eclipse-theia#11886), - fix: added missing conext menu in the _Variables_ view, - fix: handle `setFunctionBreakboints` response with no `body` (eclipse-theia#11885), - fix: `DebugExt` fires `didStart` event on `didCreate` (eclipse-theia#11916), - fix: validate editor selection based on the text model (eclipse-theia#11880) Closes eclipse-theia#11871 Closes eclipse-theia#11879 Closes eclipse-theia#11885 Closes eclipse-theia#11886 Closes eclipse-theia#11916 Closes eclipse-theia#11880 Signed-off-by: Akos Kitta <[email protected]>
kittaakos
pushed a commit
to kittaakos/theia
that referenced
this issue
Dec 13, 2022
- feat: added support for `debug/toolbar` and `debug/variables/context`, - feat: added support for `debugState` when context (eclipse-theia#11871), - feat: can customize debug session timeout, and error handling (eclipse-theia#11879), - fix: the `debugType` context that is not updated, - fix: `configure` must happen after receiving capabilities (eclipse-theia#11886), - fix: added missing conext menu in the _Variables_ view, - fix: handle `setFunctionBreakboints` response with no `body` (eclipse-theia#11885), - fix: `DebugExt` fires `didStart` event on `didCreate` (eclipse-theia#11916), - fix: validate editor selection based on the text model (eclipse-theia#11880) Closes eclipse-theia#11871 Closes eclipse-theia#11879 Closes eclipse-theia#11885 Closes eclipse-theia#11886 Closes eclipse-theia#11916 Closes eclipse-theia#11880 Signed-off-by: Akos Kitta <[email protected]>
Note: support for
|
kittaakos
pushed a commit
to kittaakos/theia
that referenced
this issue
Jan 17, 2023
- feat: added support for `debug/toolbar` and `debug/variables/context`, - feat: added support for `debugState` when context (eclipse-theia#11871), - feat: can customize debug session timeout, and error handling (eclipse-theia#11879), - fix: the `debugType` context that is not updated, - fix: `configure` must happen after receiving capabilities (eclipse-theia#11886), - fix: added missing conext menu in the _Variables_ view, - fix: handle `setFunctionBreakboints` response with no `body` (eclipse-theia#11885), - fix: `DebugExt` fires `didStart` event on `didCreate` (eclipse-theia#11916), - fix: validate editor selection based on the text model (eclipse-theia#11880) Closes eclipse-theia#11871 Closes eclipse-theia#11879 Closes eclipse-theia#11885 Closes eclipse-theia#11886 Closes eclipse-theia#11916 Closes eclipse-theia#11880 Signed-off-by: Akos Kitta <[email protected]>
paul-marechal
added a commit
that referenced
this issue
Jan 24, 2023
* fix: various debug fixes and VS Code compatibility enhancements - feat: added support for `debug/toolbar` and `debug/variables/context`, - feat: added support for `debugState` when context (#11871), - feat: can customize debug session timeout, and error handling (#11879), - fix: the `debugType` context that is not updated, - fix: `configure` must happen after receiving capabilities (#11886), - fix: added missing conext menu in the _Variables_ view, - fix: handle `setFunctionBreakboints` response with no `body` (#11885), - fix: `DebugExt` fires `didStart` event on `didCreate` (#11916), - fix: validate editor selection based on the text model (#11880) Signed-off-by: Akos Kitta <[email protected]> * fix: use when context for command node filtering Signed-off-by: Akos Kitta <[email protected]> * chore: removed test debug VSIX Signed-off-by: Akos Kitta <[email protected]> * fix: revert `timeout` check Signed-off-by: Akos Kitta <[email protected]> * fix: clarification on the possible `'debugState'` Signed-off-by: Akos Kitta <[email protected]> * fix: use hard-coded debugger `clientID` and `clientName` Signed-off-by: Akos Kitta <[email protected]> * fix: use review-requested method name Signed-off-by: Akos Kitta <[email protected]> * fix: changed method name + added doc Signed-off-by: Akos Kitta <[email protected]> * fix: `stopTimeout` is a default `ctor` argument Signed-off-by: Akos Kitta <[email protected]> * fix: incorrect method name Signed-off-by: Akos Kitta <[email protected]> * fix: both `didCreate` and `didStart` must be API Signed-off-by: Akos Kitta <[email protected]> * fix: call both on create and start Signed-off-by: Akos Kitta <[email protected]> * fix: workaround for microsoft/vscode-mock-debug#85 Signed-off-by: Akos Kitta <[email protected]> * simplify writing The collection of contributed commands was written in a convoluted way, this commit makes it more straightforward with just 2 loops. * use `Math.max` to clamp values into positives The ternary implementation is stricly equivalent to the `Math.max` function, so use that instead. * fix default option value handling Assigning a default option object to set default values is problematic as said default values will be discarded if any option object is passed. Instead default values must be handled in conjuction of whatever options are passed to functions. Signed-off-by: Akos Kitta <[email protected]> Co-authored-by: Paul Maréchal <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Description:
Add support for the following in Theia to improve the VS Code compatibility:
debug/toolbar
, (See Support "debug/toolBar" command icons #9389)debug/variables/context
, anddebugState
when
context.Steps to reproduce:
vscode-mock-debug--theia
branch in my fork,yarn download:plugins
to make the mock debugger VS Code extension available before Theia start),sampleWorkspace
folder from Microsoft/vscode-mock-debug repo as a workspace in Theia,Debug readme.md
,Missing features:
The custom command is missing from the debug toolbar (
debug/toolbar
).The context menu is unavailable for the Variables view (
debug/variables/context
).The
debugState
when context isundefined
. It should be one of the following:'inactive'
,'initializing'
,'stopped'
,'running'
. To verify this, I have written a sample command to show thewhen
context value for a key.inDebugMode
is supported, ✅debugType
is supported, ✅debugState
isundefined
. ❌The text was updated successfully, but these errors were encountered: