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

Multi-Language Profile Management Proposal for VSCode #203124

Closed
Tracked by #203279
Marcus-zh opened this issue Jan 23, 2024 · 21 comments
Closed
Tracked by #203279

Multi-Language Profile Management Proposal for VSCode #203124

Marcus-zh opened this issue Jan 23, 2024 · 21 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster user-profiles User profile management

Comments

@Marcus-zh
Copy link

Background:
I frequently switch between multiple programming languages, and plugin loading becomes cumbersome. To address this, I use profiles, creating one for each language. However, I've encountered some issues.

Issues:

  1. I often use Next.js for frontend and Python for backend, sometimes together or separately.
  2. Github Copilot is needed in each language, leading to redundant installations and potential version conflicts.
  3. I have many commonly used plugins but don't want to install them for each profile.

Desired Features:

  1. Introduce multi-profile selection to enable simultaneous activation of multiple profiles.
  2. Ensure plugin version consistency across profiles.
  3. Introduce a shared plugin repository that loads common plugins in all profiles.

These suggestions aim to enhance VSCode's usability, addressing the outlined challenges. Your consideration is highly valued.

love from China! ❤️

use GPT to translate

@sandy081
Copy link
Member

Installing an extension across all profiles is already supported - right click on an extension and you can choose to apply that extension to all profiles. Did you try that?

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Jan 23, 2024
@Marcus-zh
Copy link
Author

I haven't tried it yet, but I think it could be challenging to manage the usage of shared plugins this way.

@CHINOBKLING CHINOBKLING mentioned this issue Jan 24, 2024
@sandy081
Copy link
Member

Please try it out and share feedback.

@Marcus-zh
Copy link
Author

But I'm having some problems
image

@sandy081
Copy link
Member

How are you getting this problem?

@Marcus-zh
Copy link
Author

just click the button: "Apply the extension to all profiles"

@sandy081
Copy link
Member

Can you reproduce it for all extensions or only for this extension?

@Marcus-zh
Copy link
Author

all extensions have this problem.(I use Windows)

@sandy081
Copy link
Member

Can you please share following log

  • F1 > Show View... > Shared
  • F1 > Show View... > Window

@Marcus-zh
Copy link
Author

Here is shared log

2024-01-25 10:25:18.778 [error] [uncaught exception in sharedProcess]: Error: ENOENT: no such file or directory, stat 'c:\Users\Administrator\.vscode\extensions\extensions.json.vsctmp': EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\Administrator\.vscode\extensions\extensions.json.vsctmp'
    at r.create (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:51:30056)
    at a (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:51:30170)
    at s.fb (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:36175)
    at s.stat (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:28621)
    at async E.stat (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:15732)
    at async Y.tb (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:100:111319)

@Marcus-zh
Copy link
Author

window log has no error

@sandy081
Copy link
Member

This error might not be the root cause. Can you please share the complete log?

@Marcus-zh
Copy link
Author

This error might not be the root cause. Can you please share the complete log?

how can I do that?Is there any way to show the complete log?

@sandy081
Copy link
Member

F1 > Show View... > Shared

Copy the complete log and share it please

@Marcus-zh
Copy link
Author

here is

2024-01-25 10:18:06.330 [info] Deleted uninstalled extension from disk ms-ceintl.vscode-language-pack-zh-hans c:\Users\Administrator\.vscode\extensions\ms-ceintl.vscode-language-pack-zh-hans-1.85.2024012409
2024-01-25 10:18:09.589 [info] Getting Manifest... github.copilot
2024-01-25 10:18:10.188 [info] Installing extension: github.copilot
2024-01-25 10:18:16.264 [info] Extension signature is verified: github.copilot
2024-01-25 10:18:20.237 [info] Extracted extension to file:///c%3A/Users/Administrator/.vscode/extensions/github.copilot-1.154.0: github.copilot
2024-01-25 10:18:20.239 [info] Renamed to c:\Users\Administrator\.vscode\extensions\github.copilot-1.154.0
2024-01-25 10:18:20.240 [info] Extracting extension completed. github.copilot
2024-01-25 10:18:20.304 [info] Extension installed successfully: github.copilot
2024-01-25 10:18:21.074 [info] Marked extension as uninstalled github.copilot-1.153.0
2024-01-25 10:23:32.206 [error] [uncaught exception in sharedProcess]: Error: ENOENT: no such file or directory, stat 'c:\Users\Administrator\.vscode\extensions\extensions.json.vsctmp': EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\Administrator\.vscode\extensions\extensions.json.vsctmp'
    at r.create (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:51:30056)
    at a (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:51:30170)
    at s.fb (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:36175)
    at s.stat (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:28621)
    at async E.stat (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:15732)
    at async Y.tb (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:100:111319)
2024-01-25 10:25:18.778 [error] [uncaught exception in sharedProcess]: Error: ENOENT: no such file or directory, stat 'c:\Users\Administrator\.vscode\extensions\extensions.json.vsctmp': EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\Administrator\.vscode\extensions\extensions.json.vsctmp'
    at r.create (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:51:30056)
    at a (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:51:30170)
    at s.fb (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:36175)
    at s.stat (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:28621)
    at async E.stat (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:56:15732)
    at async Y.tb (c:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:100:111319)

@Marcus-zh
Copy link
Author

I click the button twice

@sandy081 sandy081 added bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions and removed info-needed Issue requires more information from poster labels Jan 26, 2024
@sandy081 sandy081 added this to the February 2024 milestone Jan 26, 2024
@Marcus-zh
Copy link
Author

So what about the "Introduce multi-profile selection to enable simultaneous activation of multiple profiles."

@sandy081
Copy link
Member

Extracted the issue that apply to all profiles is not working here - #203523

So what about the "Introduce multi-profile selection to enable simultaneous activation of multiple profiles."

Can you please explain the need of it given that applying to all profiles feature is present?

@sandy081 sandy081 removed the bug Issue identified by VS Code Team member as probable bug label Jan 26, 2024
@sandy081 sandy081 removed the extensions Issues concerning extensions label Jan 26, 2024
@sandy081 sandy081 removed this from the February 2024 milestone Jan 26, 2024
@sandy081 sandy081 added the info-needed Issue requires more information from poster label Jan 26, 2024
@Marcus-zh
Copy link
Author

This translation is a bit problematic.

It should be said that multiple profiles are selected at the same time
for example,I want to use python and react at the same time
image

@sandy081 sandy081 added the user-profiles User profile management label Jan 29, 2024
@sandy081
Copy link
Member

/duplicate

#180599

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 29, 2024
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster user-profiles User profile management
Projects
None yet
Development

No branches or pull requests

4 participants