I imported the same color scheme I use in sublime text, but the syntax coloring in sublime does a better job of coloring methods, classes, data types, etc. is it possible to make PyCharm look the same as sublime text 2?
PyCharm
Sublime Text 2
After doing some mix-ups, I found an exact working theme.
Hint: click on images to preview in high resolution.
Follow these steps
Install "Monocai Color Theme" from settings>plugins
Select Darcula theme in "Appearance and Behavior"
Select Monokai color scheme under "Editor>Color Scheme"
Final look
What you want is a good replacement theme such as these here.
/edit:
If you still want to further modify the colours for your syntax you need to go to Preferences -> Editor -> Colors & Fonts.
Once there you can select the language you want and customise the colour and look for different parts of the syntax. You can also save that colour scheme for future use. Further information here.
Here you can find an updated link [Editor's note (2021): the website is dead, so updated doesn't describe it anymore] to sublime text code color themes.
If you also want to add a code map bar like the one on sublime, take a look at the PyCharm plugin CodeGlance.
Related
How can I have bold and red color for matching brackets in Sublime text?
I am using Monokai theme.
Check out the BracketHighlighter plugin from Package Control. Make sure you read the entire README at the link I just gave - it's rather long, but explains in detail what you need to do to get it to work.
Does sublime text3 has file path prompt?
for example :
<img> tag
src="img/apple/pic.jpg"
after img/ it can automatic prompt
Sublime Text does not come with these features preinstalled. However, it's very likely that a plugin such as this one (I haven't tried it) will solve your issue. If it's an image you use like all the time, you can make it a snippet if you'd like so you could type apic for example, press tab, and it would expand. Otherwise, try the plugin.
I wonder, is there a way to get subline text color scheme in my webpage code snippet? I try google-code-prettify but there isn't the right color scheme. I want Monokai scheme. I try to search something like that, but nothing.
You can write your snippet in ST2 and then export it to HTML using ExportHtml.
This plugin allows the exporting of a document in ST2 to an HTML file
or to BBCode. It duplicates ST2's theme colors and font styles.
Whenever I create an #media in CSS and add tags behind it the first tag doesn't get highlighted.
Is there any known way to fix this problem?
I don't have that problem so you could look into another theme. I also tested the current theme you have which did not cause the same problem.
You can update your ST2 or look into another theme.
Here are some great themes,
Piatto
Tomorrow color scheme
Enlightened color scheme
If you have not setup your ST2's Package Control then here is a great website to get it started.
Here is another Package Control Link from Sublime text. This site will always be up to date and includes info for both Sublime Text 2 and Sublime Text 3.
Hit "Control + `" in sublime text and then add the following code,
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
Next just hit control + shift + p then type "install" to acces packages.
Sometimes Sublime Text 2 will recognize my code with its color scheme and other times it won't. I do a lot of pasting code into the code editor and editing it, but I rarely write code in it, mostly editing my older code. Its really helpful having the color scheme!
You can also set the coding language by clicking the bottom right corner "Plain Text" to open a list of languages to choose from. Click the relevant language and the Sublime will do the coloring according to your selection.
If you are just opening new files and pasting text in, the default syntax is "Plain Text", thus no highlighting. You can set the syntax in the buffer by opening the command palette and searching for "Set Syntax: ". If that isn't what is happening, please try to give more information.
-skuroda
Go to a color page and copy just the < ? and php from the top. Go to the white text page and highlight/paste.
This worked for me. i had a problem with Arduino color coding but now i solved that with the help of this trick. You can also set the coding language by clicking the bottom right corner "Plain Text" to open a list of languages to choose from. Click the relevant language and the Sublime will do the coloring according to your selection.
Javascript Syntax was not working for me, so changed to Java. Color shading appeared.