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

Add support for automatic indenting when formatting #293

Open
isc-bsaviano opened this issue Oct 24, 2023 · 3 comments
Open

Add support for automatic indenting when formatting #293

isc-bsaviano opened this issue Oct 24, 2023 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@isc-bsaviano
Copy link
Contributor

For example,

From

for value = "Red","Green","Blue" {
write value, !
}

To

For value = "Red","Green","Blue" {
   Write value, !
}

Originally reported as intersystems-community/vscode-objectscript#1254

@cvertee
Copy link

cvertee commented Jan 16, 2024

For the love of god... PLEASE let the user choose whether he wants to Uppercase first letters of commands or not. Lowercase everything is literally an industry standard in every language ever, PLEASE don't ruin the standard and hundreds of codebases, we already have ##class syntax for that 💀

@isc-bsaviano
Copy link
Contributor Author

@cvertee That's a configurable setting: intersystems.language-server.formatting.commands.case. Documentation for all settings can be found here.

@cvertee
Copy link

cvertee commented Jan 17, 2024

@isc-bsaviano oh, ok, thanks!

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

No branches or pull requests

2 participants