double (or triple) curly braces in netbeans (e.g Blade Templates) - netbeans

This is strange. I have set my background to black and now when I type double braces in netBeans they both becomes black (and thus invisible as the background is also black)
Hers is an example:
<title>{{}}</title>
The title in-between becomes all black. Where in NetBean is responsible for this?

Go to Tools -> Options
Select Font & Color
For Language, select HTML
Select Text from Category
Change the color of the text to a more visible color
Another option is, in the same Options dialog, just change the profile. It will give you predefined settings, so you don't have to mess with each category individually, which sometimes is hard to keep track of and maintain.
EDIT
Change the foreground of Expression Delimiter category. I tested it, and it works and maybe Expression Content, depending on your current settings. You my also need to change Text

Go to Tools -> Options
Select Font & Color
For Language, select HTML
Select "Expression Delimiters" from Category
Set Foreground color to white(if your IDE's background if white). In short, it should be easily visible color when comparing with IDE's
background color.

Related

How to define custom highlight color?

I'm able to highlight text but I'd like to use custom highlight colors. Even if I define custom colors, Word seems to use one of the colors in the default palette that it thinks is closest.
myRange.font.highlightColor = "#ffcc00"; // Should be orange. Comes out red
That color should come out orange but it comes out red.
Any ideas?
Word does not support custom highlight colors - only the traditionl, basic sixteen colors. This is a limitation of the Word application, not the Office JS APIs.
It would be possible to apply custom colors using Shading, however (as in borders and shading).
Here's a work-around to the problem of defining custom highlight colors which I discovered quite some time ago ..
If you paste in highlighted text copied from an application from outside of Word (i.e., highlighted text from an AOL email let's say), you can then:
Use the insertion bar to select and highlight an area of the text you just pasted in
Press the FORMAT PAINTER tool to copy the formatting of the area you've selected. The pointer changes to a PAINTBRUSH icon (with an insertion bar attached)
Move the PAINTBRUSH to the existing Word text that you want to highlight using the new color
Press and hold the mouse button (usually the left button) while selecting the specific text
Release the mouse button to apply the new highlighting and formatting
The applied highlighting will also include any other existing formatting; so you MAY have to change the font or adjust some other feature (i.e., turn on/off bold, italics, underline, etc.) But this is easily accomplished. The point is that you can now have ANY color highlighting that you prefer – this hack absolutely DOES work!
Here's, one last thing – when you save the document (by clicking the OFFICE BUTTON in the upper left corner), I would advise that you first select WORD OPTIONS, then SAVE and check the box next to "Embed fonts in the file" under "Preserve fidelity when sharing this document" (I always uncheck the other two boxes). This is to ensure that before you export or print the document, you may be sure that all the fonts and features have been saved within it.
And for the record, this technique is NOT shading.
The highlighting comes from actual HIGHLIGHTED TEXT copied from a document or application from OUTSIDE of Word. So it has nothing whatsoever to do with Word's shading feature. I've even copied highlighted text from non-dedicated word processing applications, and then pasted the text into Word – where it is then available to apply the copied highlighting to text within the existing Word document.
If you think about it – the fact that Word 2007 permits you to define any THEME color you want clearly shows that one should be able to define ANY desired custom HIGHLIGHTING color as well – besides just the 15 basic colors (and excluding the "no color"). And this work-around proves that this is so. The problem is that the Word application itself does not permit you to accomplish this directly.

How to make Eclipse's tab's background color changed when use dark theme?

I am trying to make my Eclipse cooler like IntelliJ's darcular theme. Everything is fine now except the tab's background's color. It's white and I can't see the words clearly.
Just like the picture below.
Oh, I don't know why it can be seen in the screenshot.
But what I want like this:
By TWiStErRob's comment I found where to change it for me, which also had bright tabs when switching to dark theme.
Below the steps how I changed my tabs:
Go in the top menu to window, then preferences.
Then drill down to General > Appearance > colors and fonts
There is a list with multiple background begin, background end options. If you select an option you can use the edit button to change the color.
Default you only get the basic colors. By clicking the *Define Custom Colors >>** button you can use a color picker or the hex/hsl editor fields to enter your own preferred colors. I changed them all (all the background begin/background end options) from their bright colors to darker colors.
The end result.
Thanks to TWiStErRob for giving the pointer where to find the setting.

Change NetBeans "DoubleClick Highlighted" Text Background

In NetBeans 7.4.0, when I doubleclick certain words in the code, NetBeans highlights all of them (in my case, in yellow). For the sake of clarity, and hopefully to avoid any kneejerk downvotes, I am not referring to the background color of selected text, or the text on the caret's current row.
Having recently decided to change the editor's colors (tools --> options, fonts & colors tab), I have been unable to figure out the offical name of this doubleclick highlighting to address it's color. I have been through the entire list of choices on the syntax, highlighting, annotation, diff, and versioning sub-tabs without finding an entry with a background color that seemed to match the doubleclick highlighting.
How do I change the background color of this doubleclick highlighted text?
Well the thing your looking for is called occurrences and it can be found in the path:
tools -> options -> fonts&color -> syntax
except it's not in all of the languages, try highlighting the specific language you want this to be a different color in and then you should have the option to change "Mark Occurrences"

Change 'fixes' background color in eclipse

I've been trying to change the background color for the 'quick-fixes' pop-up (the pop up that lists ways to fix an error) in eclipse juno. Currently the color is black and the text is blue which makes it very hard to read.
I cant find the correct way to change the color. Please help. Its really annoying to squint and have to read blue text on a black background.
This was driving me nuts as well, here is the fix.
Go to preferences.
Search for "Annotations"
for each Annotation Type:
if "Text as" == "Highlighted" and Color == black:
Set the color to light or uncheck "Text As"
In this screen shot, I am fixing Occurrences.
The problem I show to the left is the "Matching Tags" annotation which had the same problem.
You can change the color of the text in the pop-up.
In windows you can go Control Panel, search for colors and metrics and then select Change window colors and metrics. In the item menu select Hyperlinks and change the Color.
EDIT: This fix is valid for Windows 7. Windows 10 does not have the option to change Hyperlinks color.
Right Click anywhere in the Editor Window, and at the bottom of the context menu select Preferences. This will bring you into Java -> Editor. At the bottom ofthat window select the element colors you wish to change, in your case Parameter hints background and Parameter hints background or Completion overview background and Completion overview foreground, depending on which one it is you are having a problem with.
From what I found, I do not think you can change the color. I am not willing to go to Eclipse source code and find it but here's what fixed it for me. Not perfectly but to a level I can use the quick fix. In my case, the background and foreground was same. (Luna, Dark Theme, Using Solarized Editor Theme).
Go into the Preferences (Window -> Preferences)
Choose General -> Appearance from the left menu
Uncheck the checkbox Use mixed fonts and colours for labels
The detail is in this post. How to change the highlight color in autocomplete box in Eclipse

How to change the color of the currently selected line in a code assist popup in Eclipse?

I've recently downloaded Eclipse 3.6, everything works fine, but there is one issue that really frustrates me. The highlight color of a currently selected item in a code assist popup is barely visible against white background. I've tried to mess with color settings, but it seems that there is no option for my needs. The line highlight color set in Windows color scheme is only used to highlight in a focused popup.
I believe it is hidden in another part of Preferences. I personally wanted to change the highlighted or currently selected line color, and could not find anything in Colors and Fonts. Ends up it was in...
General -> Editors -> Text Editors
And you just need to go through every option in the "Appearance color options" box there. One is "Current line highlight" and that fixed my problem. I hope it helps yours!
I know you're trying to change the highlight color, but if the problem is contrast you can change the content assist background color, and get this kind of contrast
The setting is General->Appearance->Color Basic->Content Assist Background
Then it's just a matter of finding colors that please you.
Try Preferences->General->Appearance->Color and Fonts then find the appropriate category.
Some editors will have support for "Colored labels - match highlight"
I was having the same issue and I've found a solution for windows XP. If you go to Control Panel -> Display -> Appearance -> Advanced and select 3D Objects under Item you can change the color of this highlight to a darker color.
However it does change the appearance of other parts of your windows.