You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Set "editor.formatOnSaveTimeout" appropriately #1357
Brett Cannon (@brettcannon)
We don't have control over this value.
The only way we can update it is - extension manually updates the value in the file.
Is that what you're after? Or are you after some documentation that points users to this?
lol, checked it out, basically we use the existing api to update the settings.json files to provide our defaults (just as we update settings.json to update python.pythonPath).
I would have expected something better.
This means we're going to have to add code in initialization of the extension to update these settings and keep track of this fact (in case user changes it, reverts it).
I.e. we (extension) needs to update it manually, there's no magic/new API.
The announcement seems to be misleading, unless I have missed something.
Activity
DonJayamanne commentedon Apr 10, 2018
Brett Cannon (@brettcannon) don't you mean yapf (for formatting).
brettcannon commentedon Apr 11, 2018
Yes :)
[-]Set "editor.formatOnSaveTimeout" appropriately for Pylint[/-][+]Set "editor.formatOnSaveTimeout" appropriately[/+]MikhailArkhipov commentedon Apr 16, 2018
We don't know the exact value. Formatting can take seconds.
Update interpreter display (#3)
DonJayamanne commentedon Oct 2, 2018
Brett Cannon (@brettcannon)
We don't have control over this value.
The only way we can update it is - extension manually updates the value in the file.
Is that what you're after? Or are you after some documentation that points users to this?
brettcannon commentedon Oct 2, 2018
Don Jayamanne (@DonJayamanne) The announcement suggested that extensions can set language-specific values to adjust accordingly.
DonJayamanne commentedon Oct 2, 2018
lol, checked it out, basically we use the existing api to update the settings.json files to provide our defaults (just as we update settings.json to update
python.pythonPath).I would have expected something better.
This means we're going to have to add code in initialization of the extension to update these settings and keep track of this fact (in case user changes it, reverts it).
I.e. we (extension) needs to update it manually, there's no magic/new API.
The announcement seems to be misleading, unless I have missed something.
brettcannon commentedon Oct 2, 2018
Ugh, forget that then.
DonJayamanne commentedon Oct 3, 2018
Nope, it is possible via configuration settings.
DonJayamanne commentedon May 16, 2019
Solution
uriva commentedon Sep 9, 2019
Hey, I think I'm encountering this issue, every time I hit ctrl-s the code jumps between the isort option and the black option intermittently.
Is there a temporary solution other than disabling either one?
These settings didn't work for me:
brettcannon commentedon Sep 18, 2019
uriva please follow #6933 for that issue.
luabud commentedon Nov 24, 2020
Closing as stale.