VSCode renderIndentGuides stopped working - visual-studio-code

Where did my VSCode indent guides go?
As best as I can recall, indent guides were working as advertised in VSCode 1.17.2 on my MacBook Pro (macOS Sierra 10.12.6 (16G29)) a few hours ago. Now, with no change to any settings and without closing/reopening the editor, I notice that they're no longer rendering. I checked multiple file formats and none of them work.
I checked editor.renderIndentGuides. It's defaulted to true, and isn't being forced to false anywhere, confirmed by noting that vscode.workspace.getConfiguration("editor")["renderIndentGuides"] evaluates to true).
One minor oddity I noticed was that the settings editor itself was correctly showing indent guides until I restarted VSCode and now it's broken too.
After noticing the problem, I briefly installed the Guides extension to see if it would make things any better. It worked, but I found its appearance slightly too in-your-face and didn't need any of the special bits (in which case the Guides README recommends not to use it) so I removed it, after which guides are again not rendering. If nothing else works, I'll reinstall Guides and see if I can tweak it to suit, but I'd rather just have VSCode work as intended.
I narrowed the problem down slightly to the MBP's built-in retina display. When I run on a non-retina external screen, I see the guides. However, even there, I noticed that playing with indentation level settings causes the guides to break up a little and I have to close and reopen the file to restore order.

I figured out the proximate cause. Setting the font too small (< 12pt) produces aliasing on thin (presumably 1-pixel) lines.
A non-retina external screen exhibits similar behaviour, though it requires smaller fonts. Also, while both screens have trouble with rulers, only the retina screen loses the guides.

Related

Change size of whitespace tab arrow character in VS Code

I am currently setting up VS Code on a new computer and want to maintain all the same configuration, addons etc that I had on my previous computer. I was able to copy all of the settings, fonts, themes I like, etc; however for some reason I can't figure out how to change the size of the Tab arrow character for whitespace.
In my old editor, the Tab arrow spanned two spaces, whereas on my new computer, the tab arrow only spans one space.
I've been looking all over, and tried googling any variation of "change tab character size", "modify tab arrow span" etc that I could think of. I seem to remember changing the arrow size at some years ago, which is how I got it in my old editor, but I've totally forgotten, and can't find the setting anywhere, neither searching in the VS Code settings, nor on google like I mentioned; the only things that turn up are for changing tab indent size from 2, to 4 spaces etc.
Here are some screenshots of what I mean, from the new VS Code editor and from the one on my older computer:
Current tab arrow size in VS Code:
Old tab arrows size (what I want in my new editor):
This is driving me crazy, and I'm sure it's a simple setting somewhere that I'm missing. Any help would be appreciated!
Edit: In case it is relevant, I'm using JetBrains Mono as my font, and its the same version of the font as from my old computer as well, I copied it over and installed it on the new PC.
To my shock, the issue resolved itself after rebooting my PC. Once again it would seem that the tried and true "have you tried turning it off and on again" continues to ring true in many cases.
The only explanation I can think of is that perhaps some of the font symbols for whitespace characters weren't fully updated for some reason after installing the JetBrains Mono font, which I had installed earlier the same day, and after rebooting my PC I guess all the characters were fully updated/refreshed, and now the longer arrow is displayed for the tabs; I guess this also means that there is no arrow resizing per se, and the arrow symbol for the tab is simply the font symbol.
In any case, I figured I should write this update as an answer in case something like this happens to anyone else in the future.

VSCode Minimap isn't working, is my machine too old?

Minimap is present, but doesn't render any content.
This is on my 2006 Mac Pro, running El Capitan (my hardware won't support any further upgrades).
I have VSCode running with the exact same settings on my MacBook Pro, which is running the latest OSX, and the minimap is working fine there.
The minimap on my Mac Pro displays on the right side, with the correct width and semi-transparent background, it even scrolls properly as I scroll through my code. It just doesn't display any content whatsoever.
I've tried Toggle Minimap - that works properly, shows and hides as you'd expect, except still no content when it's turned on.
I've tried different fonts, changing minimap column width, Render Characters Off (to use color blocks instead), and changed sides (right and left), I've tried running VSCode with all extensions disabled. Obviously tried restarting VSCode, and even rebooting.
Nothing I've done has made the minimap render any content, which makes me wonder if either my hardware is too old & not supported for this, or I have a broken/missing library.
It's fine if I can't get it working, but it would be nice. Any thoughts or advice are appreciated.

vscode on mac is incorrectly highlighting text around text blocks

It is very annoying to see that background around code is lighter then the rest of the program. When the cursor moves the highlighting moves up and down to full window width. Can you please propose solution how to turn this highlighting off. Same problem is in output of task log, and in file explorer.
I have deleted all the settings and Application data and I have same problem. I have installed vscode on windows and I do not have this problem with same settings.
Unfortunately this is an issue in Chromium. You can work around this by starting VS Code with --disable-gpu from the command line.
Sean
It appears this can be fixed for some users by selecting a different color profile in macOS display settings. Note that you have to change this separately for all monitors that you use.
For me, "Apple RGB" will show these blocks, and switching to "LED Cinema Display" or "iMac" solves the issue.
See also: https://github.com/Microsoft/vscode/issues/12473#issuecomment-269024219

Tiny text bug on Mavericks eclipses (eclipsii?)

Just got a new MBP, not upgraded from a previous version, and trying to get through a few issues with the new OS and programs.
One oddity that I'm having is with eclipse, in some of the menus, the Variables/Expressions window and the console, some times. I've included screenshots of it occurring in the debug windows and menu, wasn't able to catch it in the console as that's the inconsistent one. What occurs there is it looks fairly normal, all ok, but when I bring focus to it, it goes all weird,
Got it after playing around with the colours and fonts, as described How can I change font size in Eclipse for Java text editors?
Something's definitely messed around because while most things were set right, at 11 or so, they were displaying at 5. When I then explicitly set them to 11 and restarted, they came back huge. Then resetting them put everything back to normal. shrug

tabbar-mode brings editing to a crawling halt

I today tried tabbar-mode, both version 2.0.1 obtainable via the marmelade elpa repository, and version 2.0 from dholms github repository. When tabbar-mode is activated, keystrokes are lagging noticably (I'd say >1s).
I'm using emacs-24 as long running daemon, with cedet, gnus, erc active, with 2-3 clients showing ~7 Frames. The OS is linux, the windowmanager awesome.
Can you provide any hints what might be responsible, where to look?
It's actually pretty simple; tabbar uses three icons to the left of the tabbar; glancing over the code I noticed that it meddles with transparency issues -- that raised a red flag.
Setting
(setq tabbar-use-images nil)
before activating tabbar-mode replaces the icons with text - voila, everything is smooth again.