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

User settings for language configurations #102574

Open
irvnriir opened this issue Jul 15, 2020 · 7 comments
Open

User settings for language configurations #102574

irvnriir opened this issue Jul 15, 2020 · 7 comments
Assignees
Labels
feature-request Request for new features or functionality languages-basic Basic language support issues
Milestone

Comments

@irvnriir
Copy link

irvnriir commented Jul 15, 2020

Please add functionality to: set all Autoclosing, Surrounding, Indentation settings and enable Intendation Folding (if possible, on top of language specific one); so they could not be overwritten by Language configs.

When multiple languages are used, the kaleidoscope switching of these settings are disturbing and/or loading the memory for no use. And editing the config files for each language is inconsistent and long.

@irvnriir irvnriir changed the title Ability to define language-independent Editor settings Ability to define Language-independent Editor settings Jul 15, 2020
@roblourens
Copy link
Member

Can you explain more about what you are looking for? Are you talking about settings like editor.autoClosingBrackets? You can set those to affect all languages, or override them per language.

@roblourens roblourens added the info-needed Issue requires more information from poster label Jul 15, 2020
@irvnriir
Copy link
Author

irvnriir commented Jul 16, 2020

@roblourens
from language-configuration.json : autoClosingPairs, surroundingPairs, folding.
editor.autoClosingBrackets somewhy can be overwritten by Language (even if not set to "languageDefined"), for example in Armitxes.sqf.

@roblourens
Copy link
Member

Can you give me an example of the exact issue you are having?

@irvnriir
Copy link
Author

irvnriir commented Jul 16, 2020

what?

settings.json : ,"editor.autoClosingBrackets": "beforeWhitespace"
%extensions%\armitxes.sqf-2.0.3\package.json : ,"editor.autoClosingBrackets": "always"
The 2nd setting is used. (isssue)

autoClosingPairs, surroundingPairs, folding that are present in language-configuration.json -s in default Language extensions, can't be set language-independent in settings.json . (isssue)

@aeschli
Copy link
Contributor

aeschli commented Jul 16, 2020

The request to allow users to configure autoclosing pairs is #38352
Folding markers is: #36002

@aeschli aeschli changed the title Ability to define Language-independent Editor settings User settings for language configurations Jul 16, 2020
@aeschli aeschli removed the info-needed Issue requires more information from poster label Jul 16, 2020
@rebornix rebornix removed their assignment Oct 8, 2020
@aeschli aeschli added feature-request Request for new features or functionality editor labels Nov 4, 2020
@aeschli aeschli added this to the Backlog milestone Nov 4, 2020
@aeschli aeschli removed their assignment Nov 4, 2020
@irvnriir
Copy link
Author

irvnriir commented May 8, 2021

The folding ask is about using Indentation together with "Open" and "Close" Tags . Unlike the linked 1 .

@alexdima
Copy link
Member

I think this issue might be resolved if we would allow specifying language configurations in settings.json.

@alexdima alexdima added languages-basic Basic language support issues and removed editor labels Oct 15, 2021
@hediet hediet modified the milestones: Backlog, October 2021 Oct 15, 2021
@hediet hediet modified the milestones: October 2021, November 2021 Oct 28, 2021
@hediet hediet modified the milestones: November 2021, December 2021 Nov 30, 2021
@hediet hediet modified the milestones: January 2022, February 2022 Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality languages-basic Basic language support issues
Projects
None yet
Development

No branches or pull requests

6 participants