Comments (6)
Work has already begun in Standard to use a Ruby LSP addon, so that we can format using Standard (see this).
For the time being, you can simply reject this setting so that the extension won't configure it. Use the commands to clear the cache and re-trigger the initial configuration dialogue. Then pick Decide for each
and reject the formatter setting.
We'll not be adding any specialized configuration for standard in this extension.
from vscode-shopify-ruby.
@vinistock Hey, settings reject isn't helped :(
from vscode-shopify-ruby.
Can you explain what happened and which steps you took? Did you clear the cache first?
from vscode-shopify-ruby.
@vinistock sure!
1 - cleared cache
2 - restarted vscode
3 - declined every option on start
4 - problem still exists :(
from vscode-shopify-ruby.
Can you please try to
- Remove the
editor.defaultFormatter
setting - Clear the cache with the command
"Ruby extensions pack: Clear cache and recommended settings"
- Trigger the dialogues with the command
"Ruby extensions pack: Force apply defaults"
- Then decline the settings you don't want
Let me know if that does the trick.
from vscode-shopify-ruby.
Nothing changed :( finally my config looks like
{
// Editor
"editor.accessibilitySupport": "off",
"editor.cursorBlinking": "expand",
// "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.minimap.enabled": false,
"editor.tabSize": 2,
"editor.unicodeHighlight.ambiguousCharacters": true,
// Extensions
"extensions.ignoreRecommendations": true,
// Emmet
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"phoenix-heex": "html",
"astro": "html",
"svelte": "sveltehtml"
},
// Files
"files.associations": {
"*.erb": "erb",
"*.html.erb": "erb",
"*.yml": "yaml"
},
"files.autoSave": "onFocusChange",
"files.defaultLanguage": "plaintext",
"files.insertFinalNewline": true,
// Security
"security.workspace.trust.banner": "never",
"security.workspace.trust.enabled": false,
// Workbench
"workbench.colorTheme": "Spinel",
"workbench.iconTheme": "vscode-great-icons",
"workbench.startupEditor": "none",
// Terminal
"terminal.integrated.fontFamily": "MesloLGS NF",
"terminal.integrated.scrollback": 99999999999,
"terminal.integrated.env.osx": {
"FIG_NEW_SESSION": "1"
},
"terminal.external.osxExec": "iTerm.app",
// Erb
"[erb]": {
"editor.defaultFormatter": "aliariff.vscode-erb-beautify"
},
// Plugins - Tailwind
"tailwindCSS.emmetCompletions": true,
// Plugins - eslint
"eslint.validate": [
"javascript",
"javascriptreact",
"astro", // Enable .astro
"typescript", // Enable .ts
"typescriptreact" // Enable .tsx
],
// Plugins - Svelte
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"svelte.enable-ts-plugin": true,
// Plugins - Erb formatter
"vscode-erb-beautify.keepBlankLines": 1,
"git.enableSmartCommit": true,
"git.autofetch": true,
// Dart settings
"[dart]": {
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"dart.openDevTools": "flutter",
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml"
},
"githubPullRequests.pullBranch": "never",
"[ruby]": {
"editor.defaultFormatter": "Shopify.ruby-lsp",
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"editor.rulers": [
120
],
"editor.semanticHighlighting.enabled": true
}
}
from vscode-shopify-ruby.
Related Issues (20)
- After clearing state, cannot update settings by deciding for each
- Add in-editor test runner to extension pack HOT 1
- Replace GitHub Personal Access Tokens with Org-Rotated Tokens HOT 1
- Can I override the ruler configuration? HOT 3
- Interest in supporting this extension pack in a GitHub Codespace? HOT 3
- Remove ? and ! from editor.wordSeparators HOT 3
- Message about uninstalling reborn.ruby and wingrunr21.vscode-ruby upon Vscode startup HOT 5
- How can I add the semantic token colours to an existing theme that doesn't have them? HOT 4
- Ruby extension wants to set Shopify.ruby-lsp as default formatter, but then complains it can't format Ruby HOT 9
- Add setting to disable Spinel theme prompt HOT 1
- Stand-alone theme HOT 1
- Is there a way to use this extension without it changing my rulers? HOT 1
- Does not work for versions lower than ruby 3 HOT 1
- bricks color theme HOT 6
- Clarify that this extension is not intended for general Ruby development HOT 6
- Feature request: built-in support for syntax_suggest HOT 3
- Syntax highlighting breaks on non-Spinel themes HOT 1
- Why does it bundle koichisasada.vscode-rdbg when Shopify.ruby-lsp supports debugging? HOT 3
- Rename extension
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-shopify-ruby.