How to solve this in Visual Studio Code. The document was created in notepad, it's perfect. See Image.
Sample
Have a nice day!
It's solved. In notepad I saved unicode format.
Sample
Thank you guys!
Related
I thought this page would be very useful for me. So I wanted to save it on my local computer. But I could not copy the text in it.
I tried several ways:
right-click: invalid
try to find the file: don't know the name
search on Google but there is no solution now
Can somebody help me? Thank you very much!
The file is called vs_code_editor_walkthrough.ts in the GitHub repository for Visual Studio Code. You stated you were after the text of the file, so if you view it in its raw form you can easily get all of the text in its markdown format.
It won't look anywhere near as pretty as Visual Studio Code renders it. If you want to achieve that look, you'll probably need to be savvy with TypeScript, something I am not.
I am working on a legacy code base where someone configured the tab to be 3 spaces and saved the files.
I want to reformat the files so that each file is indented with 4 spaces.
Can VSCode do that? When I select a file content and select format from edit menu it says no code formatter for .scala files
The accepted answer is deprecated! See vscode-scalafmt.
Use Metals instead.
Sounds like you might want to try the Scalafmt extension for Visual Studio Code.
EDIT:
I can't delete this answer as it is the accepted one, but the answer of #pme seems to be the correct one now.
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
Is there a function in the RubyMine IDE to export the code in a Microsoft Word document while retaining the format (font-family, font-size, color etc.) from RubyMine?
Thanks for your help!
Kind regards, shub
Check this answer.
You can then paste the rich formatted text into Microsoft Word.
Does anyone know of a good tool or plugin that enables Microsoft Word or OpenOffice Writer to add code snippets to a document in a clean manner?
I'm not sure if such a plug-in even exists, so redirecting me to any other tool that can help me would be appreciated.
I simply type out the snippet in Visual Studio and then copy paste it into word. It preserves all the code formatting.
The only other thing I do is change the font to Consolas.
I love codekeep for VS.. But it's only available for VS
Snip-It Pro is a stand alone code snippet tool that works with word or open office. It docks to the side of the screen and snippets can be drag dropped into any application. It has syntax highlighting too.
disclaimer: It's my product :)