How to disable the extra bold lines under error and warning underlines? - themes

I installed this new theme called Panda Theme. Everything looks good except for the two extra bold lines under the wavy error and warning underline. This happens to all languages.
Does anyone know where to change this back to the default, but still keep the theme?
example image of error underline, and the default that I want it to be

Ah yes these two lines editorError.border and editorWarning.border was in charge of the extra lines. Putting these into setting.json helped. Thanks #rioV8 for the suggestion.
"workbench.colorCustomizations": {
"editorError.border": "#00000000",
"editorWarning.border": "#00000000",
}

Related

end keyword always in red (just curious)

I noticed that after activating OmniPascal, all [end] keywords are now in red, no matter what theme I switch to. Is it normal, or I am being stupid and messed sth?? Thank you.
Tried switching themes, uninstalling ([end]s were back to normal) and reinstalling OmniPascal
VSCode native bracket pair colorization doesn't work well with begin/end delimiters.
Add this to VSCode settings.json:
"[objectpascal]": {
"editor.bracketPairColorization.enabled": false
}

How to change forecolor of VisualStudio popup/quick info tips?

I cannot seem to figure out which of the 6 jillion settings in Fonts and Colors affects popup tips, such as the definition of a function. I need to either darken the background and/or some of the text, being as it is currently unreadable.
I've tried fiddling with every setting that seems like it might possibly be it, but can't find it.
Can someone please tell me the name of the setting I need to change the color for?
I think you are looking for: Editor Tooltip option in Show settings for:.
Updated after OP's comment:
To update the Background color, you could choose Environment under Show setting for: and adjust ToolTip option from the Display items: option.

How to figure out why is QtCreator underlining text red?

I probably did some typo, or something. It's not really important what's wrong with the code, what freaks me out is, that I can't get any error message explaining why it's underlined!
The IDE doesn't show any explanation to the behavior, making the red underline feature pretty worthless, as many times it's just a false alarm regarding unfinished piece of code.
How can I find out why did QtCreator underline code?
If you mouse-over the red line, it should display a popup

Does an Indesign syntax highlighter exist?

Does anybody know of a non-manual method of highlighting syntax when pasted in InDesign?
I'm trying to show code of a project in an InDesign documentation but don't want to have to manually highlight the code, and preferably add numbered rows too.
Is there a plugin to achieve this?
This is the style in which I'd like to format the code.
Cheers
Not sure if you worked out an answer to this, but there's no magic button that will solve your problem.
However, InDesign does have a facility in each Paragraph style called GREP that can do what you're looking for.
This lets you write 'regex' or 'regular expressions' that are just rules for what to apply a given character style to. Yes, they look about as meaningful as Harry Potter incantations at first glance, but 2 or 3 simple regexes will get you a long way.
For instance:
(\<|<)!--\s*.*?\s*--(\>|>)
Will target HTML comments only.
(?<=").*?(?=")
This will target anything wrapped in straight double quotes.
(?<=\().*?(?=\))
This will target any text inside parentheses ().
There's an '#' symbol button in that GREP style next to where you type the regex - that gives you a drop-down menu that is almost like a 'Regex Wizard'. Try that too.
When you've got a regex that works, create a new character style for the text color and select it in the 'Apply Style' input.
Regexr.com has a tool that is good for testing this stuff. Paste your code sample in the bottom panel and your line of regex in the top. The bits that it targets will turn blue.
There is a searchable community panel on the left where people have probably already written expressions like the one you need.
I'm working out a JavaScript highlighter at the moment. It's a shame there's no communal 'Indesign style sharing library'.
Best of luck.
If had luck pasting syntax highlighted code into a Rich Text editor like Libre Office and then pasting it into Indesign. Just make sure whatever font your syntax highlighted code is in is also in InDesign because you'll get font missing errors when you pre-flight the book.

Sublime text 3 automatically highlights the texts when typing on mac

when i type something in sublime 3 it has a white box appear around the text, when i out focus the sublime and get focus back, the text which is highlighted disappear.
So i have to press escape or space to turn it off before saving which is super annoying. Tried to turn off some highlight functions in sublime setting but doesn't work.
please see the example image below, thanks
p/s i dont install any plugin except package control, and it happens to every language (php, js, html, text, xml ...)
i used a vietnamese keyboard, so turn it off when the problem sold.
i think it may happen to another keyboard. thanks

Resources