Cannot use register while in visual mode in vscode vim - visual-studio-code

Maybe I'm doing something wrong but while in visual mode, typing " and follow with register name will quit the command for some reason, like v"a.

I'm not sure if this is a problem but the command works just fine, only that the display got cut off first. Posted an issue.

Related

Prolog: How can I set "gtrace" correctly in Visual Studio Code?

I have SWI-Prolog 8.2.4 installed, and I was trying to get it to work in Visual Studio Code with the extension "VSC-Prolog" made by Arthurwang.
If I try to run a program, everything works correctly, however I realized that I cannot use the gtrace tool, because when I try to do it, a strange message appears on the console asking me if I was not wrong and I wanted to write "trace" (which is something different than what I'm looking for).
What I tried later is to write gtrace in the console but outside of Visual Studio Code to see if there I could make use of that tool. However, the same problem appears:
However, if I open swi-prolog's default text editor (swipl-win.exe), gtrace works fine there.
Why could this be happening, and how could I fix it?
Hope I can use prolog correctly in Visual Studio Code.

What does `workbench.action.terminal.switchTerminal` do?

Tried this command, seems to be doing nothing 🤔, does anyone know the purpose of it?
It's now been removed from the command palette:
Thanks for the report and for digging into this stuff 🙂. This command isn't meant to be exposed in the command palette as its only purpose is to drive the terminal dropdown behind the scenes.
There was a bug caused by this action that prevented users from pasting into a terminal since the key binding for pasting was set to this command as well as the paste command - so I am wondering as part of the fix for the pasting issue, they've made this command in the meantime not work.
Another user couldn't tell what this action does either and I can't myself. Perhaps that is why the default settings for it are unbound.

Vscode integrated terminal accentuation not working?

I'm experiencing an issue on Vscode version 1.49.2, and that's not the first time that this is happening.
The accentuation on my vscode just stopped to work. I'm from Brazil, I need to type things like "Área de Trabalho", "Helicóptero", on the integrated terminal, but he just ignore that. If I type the accent and then hit space, it will work well, but will not accentuate the word.
I have read one by one configuration on vscode to try to solve that problem but nothing works. Someone have a solution for this case?
Thank's!

Double clicking to open a file doesn't work with Visual Studio Code

I am using Visual Studio code and it works fine except that double clicking the file doesn't seem to open the file. Instead the Program just opens with an Untitled.txt screen.
Right click -> Open with code also works.
How do I make it work? I am using Windows 8.
This wasn't the case some versions back, but now it seems, that it actually is the expected behaviour. The developers intentionally do not register VSCode as the default open handler (don't ask me why).
But maybe there is a workaround. Try the following steps:
1. Try to associate the filetype(s) with another app, and then again to VSCode.
2. If setting to other editors and returning to VSCode still opens Untitled-1.txt, then you could
3. try reinstalling VSCode, and then reset it. When resetting, confirm that there is only one VSCode in the choice list.
It also could be, that you'll need to reboot your machine. Finally, you'll possibly also want to take a look at this issue on GitHub.
Hope you can solve it this way.

Unable to use Heroku from the commandline

Currently I'm making a Facebook app with Heroku, I did as the instruction says, but then I get stuck after installing heroku-toolbelt. I opened cmd.exe, typed something like 'heroku', but it results in an error as follows
C:/Program Files/Heroku/bin/heroku:15:in []': code converter not found (UTF-16LE to Windows-1258) (Encoding::ConverterNotFoundError)
from C:/Program Files/Heroku/bin/heroku:15:in'
I don't know what is the problem, searching around but there's no luck at all.
Does anyone have an idea of what I am doing wrong?
Just typing heroku in the command line won't do anything. First go to the directory where you have set up a folder to put all the files of your app from command line using DOS commands. Then type heroku login. It'll prompt you for user credentials for your heroku account. Enter those correctly and you're good to go from there.
I encountered the same error as you did. Windows-1258 is text code for Vietnamese language. I figured something like to stop converting text code automatically to Windows- 1258.
So here is how it works for me. Hope it works for you too. Simply go to Control Panel --> Change keyboards or other input method --> Administrative tab --> Change System Locale (from Vietnamese to English (United States) for example). Restart and work like a charm!
I need to dig around some more and find a way to build in this kind of functionality, but as a work around, if you open a new command prompt and type "chcp 1252" prior to running any commands it will switch command.exe to a compatible code page. That should prevent encoding errors of this type. Sorry for the inconvenience, but it should at least function as a stop gap and I'll work to integrate a fix into the tool itself. Thanks!