Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
682 views
in Technique[技术] by (71.8m points)

vscode settings - Why Ruby extension(Peng Lv) does not work?

I am working on macOS Catalina versions 10.15.7. I have a problem with Ruby(Peng Lv) extension for VScode. It seems it does work - no syntax highlighting except for the 'do', 'end', symbols ':', strings and comments. Here is the list of all my extension: endwise 1.4.2 Ruby(Peng Lv) 0,28,1 Ruby Solargraph 0,21,1 VSCode Ruby 0.28.0 vscodhe-icons 11.1.0

and my settings.json looks like this:

{
"workbench.colorTheme": "Visual Studio Dark",
"editor.tabSize": 2,
"emmet.triggerExpansionOnTab": true,
"window.zoomLevel": 0,
"explorer.compactFolders": false,
"workbench.iconTheme": "vscode-icons",
"ruby.useBundler": true, // use the internal language server (see below)
"files.autoSave": "afterDelay",
"ruby.format": true
}

I have tried installing many different version od Ruby(Peng Lv) extensions but nothing changed.I really don't know what is the issue. Do you know what should I do to resolve this annoying problem?

Current syntax highlighting

question from:https://stackoverflow.com/questions/66061347/why-ruby-extensionpeng-lv-does-not-work

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

In case someone came across that problem, all you have to do is change the VScode theme from Dark to Dark+.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.7k users

...