Code Monkey home page Code Monkey logo

Comments (4)

rsbondi avatar rsbondi commented on June 2, 2024

Thanks, I am not on windows. I get the same vscode values on about screen except for OS and same extension version. It is working in my setup. Did this recently stop working? Do you have any other extensions that may be conflicting?

from highlight-words.

jay-zhou-yan avatar jay-zhou-yan commented on June 2, 2024

Hello rsbondi,

Thanks for your reply. I can understand the difference in OS. For me, rsbondi.highlight-words is the best extension for highlight.
On my computer, "highlightwords.defaultMode" has not worked normally in the setting.json of vscode, but the other configuration options of "highlightwords.colors", "highlightwords.box", and "highlightwords.showSidebar" are all normal work.
For the problem of extensions conflicts, I made an attempt, deleted all the extensions of vscode, and only installed rsbondi.highlight-words, this configuration "highlightwords.defaultMode": {
"default": 1
}, still failed to take effect. So I think this problem is not a extensions conflict.

It is worth mentioning that although the "highlightwords.defaultMode" cannot take effect in the setting.json configuration of vscode, you can use the shortcut key Ctrl + Shift + P to set Set Highlight Mode = Whole Word, which works normally and meets expectations . The configuration of my rsbondi.highlight-words in setting.json is as follows:
"highlightwords.colors": [
{ "light": "#b3d9ff", "dark": "yellow" },
{ "light": "#b3d9ff", "dark": "cyan" },
{ "light": "#e6ffb3", "dark": "pink" },
{ "light": "#b3b3ff", "dark": "lightgreen" },
{ "light": "#ffd9b3", "dark": "magenta" },
{ "light": "#ffb3ff", "dark": "cornflowerblue" },
{ "light": "#b3ffb3", "dark": "orange" },
{ "light": "#ffff80", "dark": "green" },
{ "light": "#d1e0e0", "dark": "red" }
],
"highlightwords.box": {
"light": false,
"dark": false
},
"highlightwords.showSidebar": {
"default": true
},
"highlightwords.defaultMode": {
"default": 1
},

from highlight-words.

rsbondi avatar rsbondi commented on June 2, 2024

it should be"highlightwords.defaultMode": 1, what is shown there is the contribution, the default is the default value, or what is used if nothing is set, but the setting file does not include it, it is probably confusing in the documentation.

from highlight-words.

jay-zhou-yan avatar jay-zhou-yan commented on June 2, 2024

Using the configuration of ""highlightwords.defaultMode": 1", it works good on on both the windows platform and the linux platform. As you said, my understanding of the document is incorrect. Thank you very much for your support and help. I will close this issue. Thanks.

from highlight-words.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.