Skip to content

Conversation

@ekinertac
Copy link

Love the extension but it doesn't worked as expected in Cursor editor. add some package.json definitions to work without issues.

@rhalaly rhalaly added the enhancement New feature or request label Sep 8, 2024
@rhalaly rhalaly self-assigned this Sep 8, 2024
Copy link
Owner

@rhalaly rhalaly left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

I saw that you added the commandPalette and mostly reorder stuff and remove stuff. Some of them are crucial for the extension to run properly.

Please try to reduce the diffs as much as possible and add only the crucial fields for Cursor editor.
BTW, I saw that the extension is properly supported by other VS Code distributions, what is the unique requirement for it?

"activationEvents": [
"onStartupFinished",
"onView:fileExplorer",
"onCommand:scope-to-this.scope",
Copy link
Owner

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

{
"command": "scope-to-this.clear",
"group": "navigation",
"when": "view == 'workbench.explorer.fileView' && scopeToThis.scoped"
Copy link
Owner

Choose a reason for hiding this comment

The 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

"group": "navigation"
}
],
"explorer/context": [
Copy link
Owner

Choose a reason for hiding this comment

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

Same comment regarding reordring, please keep that in the same place

{
"command": "scope-to-this.scope",
"group": "2_workspace@1",
"when": "activeViewlet == 'workbench.view.explorer' && explorerResourceIsFolder"
Copy link
Owner

Choose a reason for hiding this comment

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

This is mandatory, why removing it? Please revert

"explorer/context": [
{
"command": "scope-to-this.scope",
"group": "navigation"
Copy link
Owner

Choose a reason for hiding this comment

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

Why changing the group?

@vatsal-innovalabs
Copy link

Hi @ekinertac , please make changes as suggested cause i would love to use this extension on cursor.

@WailRoth
Copy link

up!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants