-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I've just install LSP-css
And there is fully ignorance of settings change
Code keeps formatting
Newline keeps creating
LSP-css.sublime-settings content
{
"settings": {
"css.format.enable": false,
"scss.format.enable": false,
"less.format.enable": false,
"css.format.newlineBetweenRules": false,
"css.format.newlineBetweenSelectors": false,
}
}Troubleshooting page
Troubleshooting: LSP-css
Version
- LSP: 1.18.0
- Sublime Text: 4126
Server Test Run
- exit code: 0
- output
Server Configuration
- command
[
"${node_bin}",
"${server_path}",
"--stdio"
]- shell command
/usr/bin/node "/home/nixi/.cache/sublime-text/Package Storage/LSP-css/16.17.0/language-server/css-language-features/server/out/node/cssServerMain.js" --stdio- selector
source.css | source.scss | source.less
- priority_selector
(source.css)|(source.scss)|(source.less)
- init_options
{
"provideFormatter": true
}- settings
{
"css": {
"completion": {
"completePropertyWithSemicolon": true,
"triggerPropertyValueCompletion": true
},
"customData": [],
"format": {
"braceStyle": "collapse",
"enable": false,
"maxPreserveNewLines": null,
"newlineBetweenRules": false,
"newlineBetweenSelectors": false,
"preserveNewLines": true,
"spaceAroundSelectorSeparator": false
},
"hover": {
"documentation": true,
"references": true
},
"lint": {
"argumentsInColorFunction": "error",
"boxModel": "ignore",
"compatibleVendorPrefixes": "ignore",
"duplicateProperties": "ignore",
"emptyRules": "warning",
"float": "ignore",
"fontFaceProperties": "warning",
"hexColorLength": "error",
"idSelector": "ignore",
"ieHack": "ignore",
"importStatement": "ignore",
"important": "ignore",
"propertyIgnoredDueToDisplay": "warning",
"universalSelector": "ignore",
"unknownAtRules": "warning",
"unknownProperties": "warning",
"unknownVendorSpecificProperties": "ignore",
"validProperties": [],
"vendorPrefix": "warning",
"zeroUnits": "ignore"
},
"trace": {
"server": "off"
},
"validate": true
},
"less": {
"completion": {
"completePropertyWithSemicolon": true,
"triggerPropertyValueCompletion": true
},
"format": {
"braceStyle": "collapse",
"enable": true,
"maxPreserveNewLines": null,
"newlineBetweenRules": true,
"newlineBetweenSelectors": true,
"preserveNewLines": true,
"spaceAroundSelectorSeparator": false
},
"hover": {
"documentation": true,
"references": true
},
"lint": {
"argumentsInColorFunction": "error",
"boxModel": "ignore",
"compatibleVendorPrefixes": "ignore",
"duplicateProperties": "ignore",
"emptyRules": "warning",
"float": "ignore",
"fontFaceProperties": "warning",
"hexColorLength": "error",
"idSelector": "ignore",
"ieHack": "ignore",
"importStatement": "ignore",
"important": "ignore",
"propertyIgnoredDueToDisplay": "warning",
"universalSelector": "ignore",
"unknownAtRules": "warning",
"unknownProperties": "warning",
"unknownVendorSpecificProperties": "ignore",
"validProperties": [],
"vendorPrefix": "warning",
"zeroUnits": "ignore"
},
"validate": true
},
"scss": {
"completion": {
"completePropertyWithSemicolon": true,
"triggerPropertyValueCompletion": true
},
"format": {
"braceStyle": "collapse",
"enable": true,
"maxPreserveNewLines": null,
"newlineBetweenRules": true,
"newlineBetweenSelectors": true,
"preserveNewLines": true,
"spaceAroundSelectorSeparator": false
},
"hover": {
"documentation": true,
"references": true
},
"lint": {
"argumentsInColorFunction": "error",
"boxModel": "ignore",
"compatibleVendorPrefixes": "ignore",
"duplicateProperties": "ignore",
"emptyRules": "warning",
"float": "ignore",
"fontFaceProperties": "warning",
"hexColorLength": "error",
"idSelector": "ignore",
"ieHack": "ignore",
"importStatement": "ignore",
"important": "ignore",
"propertyIgnoredDueToDisplay": "warning",
"universalSelector": "ignore",
"unknownAtRules": "warning",
"unknownProperties": "warning",
"unknownVendorSpecificProperties": "ignore",
"validProperties": [],
"vendorPrefix": "warning",
"zeroUnits": "ignore"
},
"validate": true
}
}- env
{
"PATH": "/usr/bin:/usr/bin:"
}Active view
- File name
/home/nixi/work/Projects/Playground/012/index.css
- Settings
{
"auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
"lsp_active": true,
"syntax": "Packages/CSS/CSS.sublime-syntax"
}- base scope
source.css
Project / Workspace
- folders
[
"/home/nixi/work/Projects/Playground",
"/home/nixi/work/Projects/Playground/00f",
"/home/nixi/work/Projects/Playground/012"
]- is project: True
- project data:
{
"folders": [
{
"path": "/home/nixi/work/Projects/Playground"
},
{
"path": "/home/nixi/work/Projects/Playground/00f"
},
{
"path": "/home/nixi/work/Projects/Playground/012"
}
],
"settings": {
"LSP": {
"gopls": {
"enabled": true
}
}
}
}LSP configuration
{
"clients": {
"gopls": {
"env": {
"PATH": "/home/nixi/go/bin"
}
}
},
"inhibit_snippet_completions": true,
"inhibit_word_completions": true,
"log_debug": true,
"show_references_in_quick_panel": true
}System PATH
- /home/nixi/go/bin
- /home/nixi/miniconda3/condabin
- /home/nixi/.nix-profile/bin
- /nix/var/nix/profiles/default/bin
- /home/nixi/.local/bin
- /usr/local/bin
- /usr/bin
- /bin
peterkos, brian6932 and 8ctopus
Metadata
Metadata
Assignees
Labels
No labels