Giter VIP home page Giter VIP logo

monokai-plusplus's People

Contributors

corbanmailloux avatar dcasella avatar dsl101 avatar tastytea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

monokai-plusplus's Issues

Slightly confusing coloring with JS Custom

I've just switch syntax to JS Custom, as all my old JS syntaxes were quite out of date. I was using Monokai SL, but it didn't have function call coloring for some reason, so I also switched to Monokai++.

I've noticed some rather odd examples—are these as expected? I'm also unsure whether this is a theme or syntax issue. Let me know if the JS Custom scopes are important—I can add those too.

Example 1 (why is rtdbOptions highlighted in the second line?):
image

Example 2 (all parentheses and braces are green after .then):
image

Latest JavaScript scopes and highlighting

Hi again—looks like I'm going to have to ditch JS Next as my syntax highlighter, as it's unmaintained, and for some reason won't work inside Vue component script tags. The way it labels scopes seems to work very nicely with Monokai++, but the built-in JavaScript syntax in ST3 doesn't work as well. For example, take this snippet using the built-in highlighter:

export default {
  thing: 0,
  otherThing: null,
  finalThing: undefined
}

import store from 'vuex'

const loadTab = (to, from, next) => {
  console.group('Event')
  console.log('starting:', store.state.loadingEvent)
  console.log('to.name:', to.name)
  console.log('from:', from)
  console.log('next:', next)
  console.log('store.getters.isAdmin():', store.getters.isAdmin())
  console.groupEnd()

  if (store.getters.isAdmin({ eventId: to.params.eventId }) && to.name === 'Event') {
    const lastTab = store.getters.lastTab(to.params.event) || 'dashboard'
    console.log(lastTab)
  }

}

loadTab()

Using the latest theme file from github (I just copied it as a local theme):

image

Things I notice and can't stop noticing :) (I've included the scopes where I can):

  • Object string keys not in yellow (source.js meta.export.js meta.object-literal.js meta.object-literal.key.js)
  • Arrow function definition not green (source.js meta.function.declaration.js entity.name.function.js variable.other.readwrite.js)
  • Object braces ({ & }) in parameter for isAdmin() are green but should be white (source.js meta.function.js meta.block.js meta.conditional.js meta.group.js meta.function-call.method.js meta.group.js meta.object-literal.js punctuation.section.block.begin.js and ... punctuation.section.block.end.js)
  • eventId: object key is green, should be yellow (source.js meta.function.js meta.block.js meta.conditional.js meta.group.js meta.function-call.method.js meta.group.js meta.object-literal.js meta.object-literal.key.js)

Really hoping you're able to fix these, and then I can get rid of my weird alternative JS highlighters and just stick with the plain one, which does work inside Vue SFCs.

I have ported this theme to Visual Studio Community 2019 (C#)

Hi guys, this theme was the reason why I wasn't moving from VSC to VS Community, so I've ported this theme for C#...
there are of course some colors that still need to be tweaked.. but the main thing is there, the only requirement is that you install the Viasfora Extension.
You can download my settings on:
https://mega.nz/file/9R0hXQYJ#si5eqgc2zxNDNTSWeiyNbQ9g_xwm2g23SZQ9pjc4XiU

be careful though, that file contains my full config which I've make it to look and feel like VScode.. it will probably override not only the colors.
As for me, I don't stand VS community since it feels too bulky for my needs and I'll come back to vscode, I just wanted to share this config before leaving :)

Screenshot 2020-09-10 234526

V2.0.0

Hello, I've noticed the color scheme changed a lot after the update to 2.0.0
The previous version colored looked much better, and now it's coloring many things in orange. see here
I added the version inside the pictures.

Sidebar colors changed, props in js files changed, many things, you can see the picture below.
image

Styling breaks at deeply nested scope

Again, I'm unsure if this is a syntax issue or a theme issue, but here's the block of code showing the problem. Highlighting from the permission variable inside the second promise handler starts to go wrong, and never really recovers:

image

The scope data for the first (correct) permission is:

Scope:                         text.html.vue
                               source.js.embedded.html
                               source.js
                               meta.export.js
                               meta.object-literal.js
                               meta.object-literal.js
                               meta.function.js
                               meta.block.js
                               meta.conditional.js
                               meta.block.js
                               meta.for.js
                               meta.block.js
                               meta.switch.js
                               meta.block.js
                               meta.block.js
                               meta.conditional.js
                               meta.block.js
                               meta.function-call.method.js
                               meta.group.js
                               meta.function.declaration.js
                               variable.parameter.function.js
Fg Name:                       Member variables
Fg Scope:                      variable.language, variable.other.member, variable.parameter, variable.other.readwrite.member, entity.other.attribute-name
Bg Name:                       background
Bg Scope:                      background
Syntax File:                   Packages/Vue Syntax Highlight/Vue Component.sublime-syntax
tmTheme File:                  Packages/User/Monokai++.tmTheme

and for the second (incorrect) one it's:

Scope:                         text.html.vue
                               source.js.embedded.html
                               source.js
                               meta.export.js
                               meta.object-literal.js
                               meta.object-literal.js
                               meta.function.js
                               meta.block.js
                               meta.conditional.js
                               meta.block.js
                               meta.for.js
                               meta.block.js
                               meta.switch.js
                               meta.block.js
                               meta.block.js
                               meta.conditional.js
                               meta.block.js
                               meta.conditional.js
                               meta.block.js
                               meta.function-call.method.js
                               meta.group.js
                               meta.function.declaration.js
                               variable.parameter.function.js
Fg Name:                       Normal
Fg Scope:                      keyword.operator.dereference.java, meta.preprocessor.haskell, punctuation.separator.java, variable.parameter.java, variable.parameter.js, meta.group.js, meta.group.go, punctuation.section.class.begin.python, support.variable.dom.js, constant.character.brace, constant.character.end, constant.character.paren, constant.character.quote, support.class.js, punctuation.section.group.begin.js, punctuation.section.group.end.js, meta.template.expression, meta.group.braces, source.groovy.embedded.source, punctuation.section.class.end.groovy
Bg Name:                       background
Bg Scope:                      background
Syntax File:                   Packages/Vue Syntax Highlight/Vue Component.sublime-syntax
tmTheme File:                  Packages/User/Monokai++.tmTheme

Can you tell what's going wrong here?

Monokai++ with Volar extension

When I use Monokai++ with Volar(Official vue extension), I don't get component s highlist and it just look same color of the HTML tag
image

When I use vetur(the previous vue extension) it is showing correctly
image

And also if I use Volar with any other color theme it's working great
image

But I didn't find any other Color theme that looks good, I think Monokai++ has the best colors
I don't know if I should open an issue here or in Volar extension repo.

Thanks for your help!

Indent guides too dark

Would it be possible to make the color for the indent guides a bit lighter? They're nearly invisible in SublimeText3. Below are two screenshots which compare between the Monokai theme and the Monokai++ theme.

Monokai indent guides
image

Monokai++ indent guides
image

One more scope for JS Next function call?

None of the console function calls get highlighted with JS Next (the default JS syntax does get this case right):

image

The scope is source.js meta.group.braces.curly support.function.console.js—could you include that one too?

I had wondered if this should include meta.function-call.method.js, which the default JS syntax does, but the TM docs say (with my italics):

Function names, including the full path, and all parameters should receive the following scope. The name of the function or method should be variable.function, unless the function is scoped with support.function.

meta.function-call

So that suggested to me that support.function... should be enough?

Add diff highlighting

Just switched to Monokai++ and really like it for most programming jobs. But, I've lost highlighting on diff files. The syntax higlighter is there, and I can see it's setting the scopes. But I guess there are no definitions in the theme. Any chance to add those?

Vue lang support

I've been wishing I could switch to this for a while but without Vue lang support I just can't. Any chance we could get that?

Whitespace Characters Not Distinct Enough

With editor.renderWhitespace set to something other than None, the whitespace characters are not a distinct enough color from the background to be visible. This renders the setting useless.

Spaces added at end of settings file:
capture
Selection made to highlight whitespace characters.
capture1

Colors changed issue

Hey, The v2 made colors changed drastically and it seems something went wrong there
I wrote the version number at the top of the image

Screen Shot 2022-07-10 at 11 11 17

Screen Shot 2022-07-10 at 11 09 42

Screen Shot 2022-07-10 at 11 13 16

Thanks!

mark occurrences highlight

Hi, this is a very nice Monokai! I use it in VS code.
I have a question. How to change the color of mark occurrences highlight (when we put a cursor on a variable name for example, all occurrences of that name will be highlighted)?
It seems to be a bright red, I want to change it to a softer color. I tried to open Monokai++.tmTheme but I couldn't find any tag related to occurrences.
I tried to override in the user-setting using

"workbench.colorCustomizations": { "editor.selectionHighlightBackground": "#804343", "editor.selectionBackground": "#804343" }

but still doesn't work. Could you please help? Thank you so much in advance.

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.