Eclipse's color world-text syntax highlighting, eclipse's color world

Source: Internet
Author: User

Eclipse's color world-text syntax highlighting, eclipse's color world

Is the original color of Eclipse tired?. zZ, change the color, refreshing, but its location is difficult to find...

Java syntax highlights:Preferences/Jave/Editor/Syntax Coloring


Xml syntax highlighting:Preferences/XML Files/Editor/Syntax Coloring


Font size settings:Preferences/General/Apperance/Color and Fonts (last two items of Basic)



After setting it up, I want to back it up, but where does it finally save it? Where...

Process Monitor captures the File Read and Write records of Start and Stop Eclipse

Preliminarily confirm that the color information is saved in workspace

Then, narrow down the scope
Search for the keyword color in the workspace file using Search and Replace
Through repeated rewriting experiments, we finally found,

There is only one truth

Java text color is here:
... \ Android_workspace \. metadata \. plugins \ org. eclipse. core. runtime \. settings \ org. eclipse. jdt. ui. prefs

java_comment_task_tag=36,168,112java_doc_link_bold=truejava_doc_tag_bold=truejava_keyword=135,123,16java_keyword_return=135,123,16java_multi_line_comment=36,168,112java_multi_line_comment_bold=truejava_single_line_comment=36,168,112java_single_line_comment_bold=truejava_string=255,0,255
The color format is R, G, and B.
The c ++ text color is here:

... \ Android_workspace \. metadata \. plugins \ org. eclipse. core. runtime \. settings \ org. eclipse. cdt. ui. prefs

XML is here:

.. \ Android_workspace \. metadata \. plugins \ org. eclipse. core. runtime \. settings \ org. eclipse. wst. xml. ui. prefs

commentText=\#008000 | null | false | false | false | falseeclipse.preferences.version=1org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.lastActivePage=1tagAttributeName=\#000000 | null | true | false | false | falsetagAttributeValue=\#ff00ff | null | false | false | false | falsetagName=\#ff0000 | null | false | false | false | falsexmlContent=\#0000ff | \#ffffff | false | false | false | false

(The following shows how to set XML syntax highlighting. It is caught by Process Monitor during saving)

The font size is here:

.. \ Android_workspace \. metadata \. plugins \ org. eclipse. core. runtime \. settings \ org. eclipse. ui. workbench. prefs

Other settings are in various *. prefs files.


Article from: http://blog.csdn.net/wisepragma/article/details/39801775

Reprinted please indicate the source


Which hero has the configuration file of UE syntax highlighting (Eclipse )?

. It is mainly used to highlight the coloring when the Eclipse syntax is displayed in the UE text editor. Share

Eclipse highlight is to select a variable (or method) to highlight all the text that is the same as the variable source.

In eclipse, choose windows> preferences> java> Editor> Mark Occurences. Check all

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.