-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
Per-platform / per-hostname inline settings #640
Comments
@BoostIO funded this issue with $80. Visit this issue on Issuehunt |
I arrived here because I use VS code on a Windows and OS X machines. In its local settings I have: // On OS X // On Windows I'd like to keep "git.path" as is on both machines while not copying (ignoring) "terminal.integrated.shell.windows"... In essence ignoring both settings. ignoreSettings: ["git.path", "terminal.integrated.shell.windows"] Am I correct in understanding that something like this is currently not possible? |
@loadbalance-sudachi-kun funded this issue with $256. Visit this issue on Issuehunt |
Read the details at : https://medium.com/@itsShanKhan/visual-studio-code-settings-sync-configurations-ed8dd6fd9753 |
This issue is funded, anyone is welcome to work and earn the money 😄 |
I also have this issue. For me, the ideal way to do this would be to have different platforms and allow me to set specific keys for specific plugins which are either:
e.g. i dont need to set python path on every machine, it's usually picked up automatically ok and if it's not, it's a one time change, but doesnt need to be synced between different machines. replaceCodeSettings is ok but not ideal as it doesnt allow you to "ignore" a setting. that might be a quick fix... |
perhaps another solution might be to have a config option "ignorekeys" which accepts a list of keys to ignore on sync. |
@ioprotium has started working. Visit this issue on Issuehunt |
@ioprotium has submitted output. Visit this issue on Issuehunt |
@shanalikhan do you know if I must submit something to issuehunt to get the bounty? First time using that platform. Thanks in advance! |
@shanalikhan has rewarded. Visit this issue on Issuehunt |
@ioprotium i have just rewarded you the price for bounty. I think you need PayPal to transfer the money. |
v3.2 is released with this feature. Let me know if there is any problem |
Is there a spec defining use? |
Check the wiki at I will write the articles soon. |
👍
|
Great work on this, it really takes Sync Settings to the next level. Thank you! I just found an issue in the ignore behavior for which I've created a separate issue: #686. |
Would this be possible for extensions as well, or no? |
For host specific extensions, i think its better to create new GIST. |
Proposed by @jacobdufault and @borekb on #555 (#555 (comment) and
#555 (comment) )
replaceCodeSettings
may mostly work, but I think the following approach may be more flexible/have merit.There could be just
@sync
affecting just the next line which would be by far the most common use case for me. For example:I would also appreciate an "ignore" pragma that would make sure certain setting is simply not touched (both during upload and download):
What I mean by "not touched" is:
settings.json
that contains e.g."window.zoomLevel": 1
, it doesn't overwrite my value of2
."window.zoomLevel"
in the remote Gist is not overwritten with my local value.There should be
host
defined in the Sync Global Settings. While downloading it should download all the settings but make sure to comment the specified code settings. Like for example :Upon downloading, the machine has windows OS and
host
aspc
it should only uncomment those settings and generic ones.The text was updated successfully, but these errors were encountered: