Hi my visual studio code does this weird single line paste whenever I copy a code from a pdf or any other sources.
this picture below is what I copied from
this is what happens when I paste my code
Not really sure what made it this way but I have tried reinstalling, deleting the cache, all the files related to visual studio code but it doesn't work.
The reason why I am asking this because it used to work and my friends that use vscode doesn't have this problem.
Your help is very much appreciated.
Related
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.
Hi guys, I am getting this weird data inside the dart file. I had coded the screen but now it is not showing. Thanks in advance.
The data which you have shown in the file is not related to dart .Its looks like some xml lines .
You mentioned that you have created the screen before so may be there been a chance that your file beign overwritten by plugin or something .
The way which you can get your original data is that if youre using git then check the previous commit where you have the succesfully executed your dart file from there you can copy the code and you can continue with your developement .
if your not using git then the only way is re-write the code
Ok. I figured out that it was problem regarding android studio. I tried to open the same code in VS code and notepad and it was opening. The only way to get the original file back is open the file in note pad and then copy the code and paste it back in android studio file. The code will work even if you leave the file like that. So I will file an issue in the android studio page if possible.
I don't know how to describe my problem except via picture.
Don't judge my code, but if you look between the letters you will see random bits of characters. This Doesn't seem to effect how it compiles and runs, but I really want it to go away.
I've tried restarting visual studio code, closing the document withing visual studio code and reopening, and restarting my computer. Beyond that, I have no ideas. I think this problem may have started when I elected to install C/C++ Intellisense.
a Screenshot of my Code
fyi: I don't know how to word my problem in a way that helps google take me to relevant sources.
When I first started using Visual Studio Code for my cobol, it was working fine. But lately when I try to compile my code after saving it in vsc it gives errors about there being weird characters.
If I do the same changes in Notepad++ it works fine. I've been going through the settings in vsc but I cannot find anything wrong in there. But then again I don't know that much about it. I'm also using the extension cobol syntax support from bitlang.
Does anybody know how this is possible? Is there some setting that messes this up? I cannot really show any screens or anything. since this is all work related and I'm not allowed to share.
My guess is, that this is related to the code page used to save the project.
Notepad++ by default uses UTF-8. you may need to change the code page on Visual Studio Code to UTF-8.
https://code.visualstudio.com/docs/getstarted/settings
I'm trying to set up a simple blog on via Visual Studio and Jekyll but Jekyll can't seem to parse markdown for my posts correctly. Here's the result for my file as is.
Notice that per Visual Studio, this currently is saved with BOM but still builds.
I'm aware that files need to have NO BOM (Byte Order Marker) so I've tried saving it without it but still can't get any results. Anyone have any ideas?
EDIT: Here's backtrace output per comments:
EDIT2: I've tried all the possible line endings available and still can't seem to get anything going. Per #Waylan 's comments I looked into issue #3304 but it seems it isn't fully resolved. Check out this issue if you'd like to add any comments
Seems this was occurring because I was adding via Visual Studio.
You must add the files as a regular text file in Windows Explorer - then you'll be able to edit them in Visual Studio as you like.
Hopefully we'll get support for this in later version of Jekyll or Visual Studio will change whatever it is that's causing the issue. I've made note of the issue with Jekyll already here though if anyone would like to add on to it