This is a screenshot of a code fragment viewed in Sublime Text 3 in Windows 7:
And this is a screenshot of the same code fragment in Sublime Text 3 in Linux Mint 17 (Qiana)
You might not believe but this little thing is bothering me since I started programming in the Linux environment.
Is there a bug with Sublime Text 3 columns alignment in Linux environment or it's just a matter of configuration? Is it fixable?
You are using a monospace (fixed-width) font in the upper image, and a sans-serif (variable-width) font in the lower. Open up your font library program in Mint and find a monospace font you like (I prefer Liberation Mono, but you may need to install it). Then, in Sublime, select Preferences -> Settings-User and add the following:
"font_face": "Liberation Mono"
(or whatever font you chose). Save the file, and you should be all set.
Related
The question applies to both windows and Macs. But I'm on an iMac at the moment so I can only test on a Mac.
I installed the mononoki Nerd Font.
In Font Book/Microsoft Word/Textedit (which is like a macOS Wordpad equivalent), the font is called “mononoki Nerd Font Mono”.
As a test, I tried setting my font_face to these and it's not working:
- "font_face": "mononoki Nerd Font Mono"
- "font_face": "mononoki Nerd Font Mono Regular"
and no change on my display. The text looks the same with and without the line above.
Thanks.
in Windows you can open fonts settings and search for your font, and there are two things:
Font Family
Font Face
eg. I want a font called fira code retina, which is in fira code font-family so I'll search for it in fonts settings:
Now the font-faces which comes under this family will be listed below:
Then you can select the font family name and get all the details of it.
You can use Settings in Sublime Text like so:
Then, change the user settings like so with font_face property:
Save the preferences and see if that changes your font. In the above example, I have chosen American Typewriter as the font_face and the effect is noticed upon save.
Give that a shot.
I want to make a transparent background in Text Editor,Like Sublime I want to text while reading text on youtube.
This feature varies in different editors. You can check in Preferences if they allow that
I am on a Linux Mint 21 Cinnamon machine and my search for a solution lead me to Micro ( https://micro-editor.github.io/ ) and Nano (in package repository).
Micro is a text editor running in a Terminal which with an appropriate color scheme (with not set default background/foreground color) inherits the background transparency from the GNOME Terminal.
The transparency doesn't work 100% of the time (showing desktop background in spite of opened windows covering it),so sometimes the Terminal or Micro must be restarted to keep the proper functioning of the transparency, but most of the time it works as expected allowing to read through it while typing.
Currently Micro and Nano are the only text editors known to me that are open source and free and come with such feature.
How to use emoji in the Android source code in Android studio or IntelliJ in Windows OS? I want to use emojis in the logcat print messages by choosing emojis from the context-sensitive popup. I could not find the right plugin.
I need the plugin that is used in the picture below. But don't know how to achieve the same. When I googled I get references to emoji-compat for showing emoji in the android application's soft keyboard dialog. But I want to use emoji in the source code in the comments and logcat only.
Update: I thought it is an android studio feature. But it is available as soft touch keyboard in windows 10. "WIN + ;" is the shortcut for launching the same.
Now, my next question is how to make the emojis display colorful in windows android studio's code editor and logcat like the way it appears in the Mac.
In Mac it appears like this:
In windows it appears like this in the editor after adding the emoji:
On mac position the cursor in any text field you'd like to insert an
emoji, like posting a tweet for example.
Use the keyboard shortcut Command - Control - Space bar to access
emoji.
Double-click the emoji you'd like to use and it'll be inserted where
you left your cursor.
In your screenshots, the emojis appear to be rendered in a monochrome version in your editor. I've experienced a similar problem with the display of emojis in IntelliJ on macOS.
At first, I thought it was due to a character encoding setting. This turned out to be unrelated as my file encoding is set to UTF-8 everywhere.
After living with the problem for quite some time, the solution I've found to have emojis display right for me is to set the fallback font (for symbols not supported by the main font) to "Apple Color Emoji" for both the editor and the console.
The corresponding UI path for this setting is listed below.
Preferences > Editor > Font
When a color scheme font setting overrides the editor font, then the following paths can apply.
Preferences > Editor > Color Scheme > Color Scheme Font
Preferences > Editor > Color Scheme > Console Font
"Show only monospaced fonts" will need to be disabled temporarily to show the emoji font under "Fallback font".
Additionally, I made "Paste without Formatting" be my default paste option so that emojis can be pasted directly, without risk of being transformed into Unicode escape sequences.
The result is that emojis display as expected for me throughout the IDE, making a big difference to my coding pleasure!
The code editor now correctly handles Unicode emoji characters. On Mac OS X emoji characters are rendered as colored images. On Windows and Linux emoji are rendered as monochrome characters.
Source: https://blog.jetbrains.com/idea/2016/12/intellij-idea-2017-1-eap-is-open/
I have two installations of portable Sublime Text 3 on my computer: 3143 and 3176. I've ported all my settings, my theme, plugins over to 3176 and everything is perfect except for the default font being bold.
My settings have not changed.
"font_face": "Consolas",
"font_size": 11,
Inspecting my (custom) theme, nothing suggests it should be bold and that the new version would be sensitive to it.
Nothing in font_options seems to help either.
Old (happy):
New (sad):
As per the 3.1 changelog:
Improved text rendering on Windows, now respecting ClearType tuning
Go to Preferences -> Settings, then in your user settings add:
"font_options": ["dwrite_cleartype_classic"],
"theme_font_options": ["dwrite_cleartype_classic"],
If those don't work for you, use dwrite_cleartype_natural for each instead.
Still having trouble? Make sure font_face and font_size are as you expect; I had a lower font size for a computer with lower resolution.
I'm using two environments, one with 24" screen, second one with 15". I need default font size of content of project/package explorer in the first one, but small font size for the other one.
Is there any way how to change it within eclipse? I mean not within operating system ? Because it always influences other font size on desktop. I'm reffering to this question.
If there is no way, please describe how would you do it in Linux - distribution independently.
I have a 17 inch Mac Book Pro which is frequently hooked up to 27 inch high res display and the font size in the package explorer was way too small. Eclipse is supposed to respect the OS settings but it turns out on Mac OS X the default setting for eclipse is to use small Fonts rather than the standard os fonts.
on Mac OS X you can change edit the eclipse.ini file and remove -Dorg.eclipse.swt.internal.carbon.smallFonts restart eclipse and presto you will find that your package explorer looks brilliant with reasonable sized fonts.
You make have to use the Finder option "Show Contents" on the Eclipse.app to find the eclipse.ini file, and, the smallFonts line may occur more than once in the .ini file.
For Mac OS X, download TinkerTool from http://bresink.de/osx/TinkerTool.html and then change the font size for "Help tags".
That changed the font size of package explorer for me. :)
I can say pretty confidently that you cannot change that font size from within eclipse, only choice is on the operating system. And on ubuntu you are able to change that font size.
I work in Android development. I have ADT installed which comes which eclipse. The Windows about states that the eclipse installed has following components.
This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP,
and Version : 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
and BuildID : M20130204-1200
With the above version, I am able to change the font within eclipse. The process to change the font is very simple
1) Click on Window menu.
2) Click on Preferences sub menu.
3) Open General tab. (Left navigation)
4) Open Appearances sub tab. (Left navigation)
5) Click on Colors and Font option. (Left navigation)
6) Expand Basic option. (Right panel)
7) Click on Text Font (last option in Basic option)
8) Click on Edit Button.
9) Change the font which you want.
The screen shot of above option looks like...
For windows check below link:
Window > Preferences > General > Appearance > Colors and Fonts > View
and Editor Folders > Tree and Table font for views
https://www.bootng.com/2021/01/change-project-explorer-tree-view-font.html
For linux: Check out this link, it was very useful to me! I'm using the author's favourite option and works seamlessly.
http://techtavern.wordpress.com/2008/09/24/smaller-font-sizes-for-eclipse-on-linux/
For Eclipse Oxygen on Sierra, deleting
-Dorg.eclipse.swt.internal.carbon.smallFonts
from Eclipse.app » Contents » Eclipse » eclipse.ini
didn't change anything visible