white space shows charecter in xcode file? - xcode8

I tried but not able to find why space become (_) character in my xcode 8.2 swift file.
Thank you in advance!!

Open Xcode , and Choose Editor :
And then If Hide Invisible is there like this :
Just Click on Hide Invisible and it changes into Show Invisible
That solve your issue .

Related

How to set tab indentation with GNAT GPS

I installed GNAT GPS 2017 and I would like it to indent my code with tabs using the same width as 4 space characters. I've gone into Edit->Preferences->Editor->Ada and tried all sorts of options (Use tabulations, default indentation 4, etc) but nothing seems to make it work:
Opening existing file with tabs causes GPS to display tabs with 8 spaces wide instead of 4.
Adding new code causes GPS to indent with 4 spaces but it inserts space characters instead of a single tab character.
Any ideas?
I think that GPS is working as-designed; unfortunately, that isn’t the way you want it to work.
The Preferences > Editor > Ada > Default indentation setting (and the four settings following it) say what screen appearance is required (assuming a monospace font, of course) if you hit the TAB key in a line.
The Preferences > Editor > Ada > Use tabulations setting says whether the editor should use 8-column-width tabs when possible to achieve the above.
#Jean-François Fabre suggested that "Their code parser doesn't support tabulations properly" - I think this may be that Jean-François compiles with -gnaty (style checks), and one of the default style checks is that the file isn’t indented with tabs.

UI Text not rendering properly with Intellij IDEA and MacType

I wanted to make Intellij IDEA on windows look like the one on OS X Because in
my opinion it looks much better, so I installed MacType, I was able to get the
editor font render correctly, but when I change the UI font to match OS X's UI
font, The text gets cut off in some places. The font I am trying to use is
Lucida Grande size 15. You can see it for yourself in the picture
below:
Intellij UI Text getting cut: https://i.stack.imgur.com/4jnda.png
But if I remove disable MacType rendering, everything works fine, but it looks bad.
Intellij UI Text without MacType rendering: https://i.stack.imgur.com/AJEUl.png
I've tried changing MacType's settings, but nothing works!
I am on Windows 10 Creators Update with Intellij IDEA 2017.2
Any help would be appreciated.
I found the answer myself! Apparently if you open the mactype profile you are using with notepad, and paste the following text at the end of the file:
[Experimental#idea64.exe]
ClipBoxFix=1
Then all the fonts will render correctly. Note, this does not only work for Intellij IDEA, but also all other java applications and a few others. To achieve this, all you have to do is replace "idea64.exe" with the name of the app executable. An example is for the 32-bit version of Intellij, you would replace "idea64.exe" with "idea.exe".
More information can be found here: https://github.com/snowie2000/mactype/wiki/ClipBoxFix

Why is all my html highlighted grey in WebStorm?

I just downloaded the new version of WebStorm -- 2016.3.2. For some reason all my HTML tags are highlighted grey.
Does anybody know how to fix this? I've tried looking around in the settings and I posted on the forums too.
Edit The problem persists even with all the html styling disabled.
Edit 2 Even with highlighting set to none it still happens
Add new Schema in Preferences | Editor | Colors & Fonts | HTML by hitting Save As...
And now you can uncheck Background configuration for removing it or change the color.

How to disable auto changing tabs to spaces in the code in Intellij Idea?

How to disable auto changing tabs to spaces and removing empty lines, whitespaces in the sourcefiles after it opened?
In other words if the line contains tabs and spaces in one line Idea shouldn't change them. For example if file contains "-->-->....-->public void setAttribute();" Idea shouldn't change tabs to spaces or spaces to tabs. I can disable all autoformattig.
To restate the problem, you want the editor to not affect the whitespace indentations. Spaces should remain spaces and tabs should remain tabs.
I'm having a similar problem. It looks like IntelliJ has this feature:
Settings > Editor > Code Style,
Indents Detection section,
Detect and use existing file indents for editing option
Unfortunately, I don't think I can get it to work as expected for myself (version 2016.3.6), but it seems to be working for others.
Here's the original jetbrains blog post about it.
There is an option 'keep indents on empty line'
Assuming Java: Settings > Code Style > Java > Tabs and Indents > Use tab character. You can do the same for other languages too.
Besides noted IDE settings, please check if .editorconfig file exists in your project. The file may silently override IDE settings.
In Editor - Code Style - Java/JSON/etc - Tabs and Indents are two checkboxes:
Use tab character - when not checked, Idea replaces tabs by spaces while typing
Keep indents on empty line - when not checked, Idea removes tabs and spaces from lines where is no other content

How to make sublime text editor highlight left bar area on active code block

Sometimes I feal lost while coding on sublime text editor as it doesn't highlight the left bar as others ides/text editors do
what I am talking about is the light violet color on line numbers as in eclipse.
But in Sublime text Editor its simply an small dash beneath curly braces.
Is there any way I can get this in sublime text editor ?
Add this to your user, preferences file:
"highlight_line": true
You can find a great many helpful visual aids by looking in the default preferences file and the copying any over to your user file. Don't change settings in the default file though. Always add them to the user file.