-
Notifications
You must be signed in to change notification settings - Fork 9
add new changes to work with in cursor editor #19
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,9 +35,7 @@ | |
| }, | ||
| "activationEvents": [ | ||
| "onStartupFinished", | ||
| "onView:fileExplorer", | ||
| "onCommand:scope-to-this.scope", | ||
| "onCommand:scope-to-this.clear" | ||
| "onView:fileExplorer" | ||
| ], | ||
| "contributes": { | ||
| "commands": [ | ||
|
|
@@ -52,18 +50,23 @@ | |
| } | ||
| ], | ||
| "menus": { | ||
| "explorer/context": [ | ||
| { | ||
| "command": "scope-to-this.scope", | ||
| "group": "navigation" | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why changing the group? |
||
| } | ||
| ], | ||
| "view/title": [ | ||
| { | ||
| "command": "scope-to-this.clear", | ||
| "group": "navigation", | ||
| "when": "view == 'workbench.explorer.fileView' && scopeToThis.scoped" | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I highly encourage to reduce unnecessary diffs. Since this is just a reorder, please revert |
||
| "when": "view == workbench.explorer.fileView && scopeToThis.scoped", | ||
| "group": "navigation" | ||
| } | ||
| ], | ||
| "explorer/context": [ | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment regarding reordring, please keep that in the same place |
||
| "commandPalette": [ | ||
| { | ||
| "command": "scope-to-this.scope", | ||
| "group": "2_workspace@1", | ||
| "when": "activeViewlet == 'workbench.view.explorer' && explorerResourceIsFolder" | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is mandatory, why removing it? Please revert |
||
| "command": "scope-to-this.clear", | ||
| "when": "scopeToThis.scoped" | ||
| } | ||
| ] | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are needed in some cases where you run the commands before VS Code is loaded or file explorer is opened. Please revert