Visual Studio 2015 does not show Unicode last changed charrecter? - unicode

I'm using VS 2015 and TFS 2013 update 4.
I was able to see the name of person who last modified/updated and so on above
method classes but right now it just show author names which are in Unicode by question mark
What's the problem?
Updated:
Now all of Unicode charecters are gone even in c# files

Close all instances of Visual Studio.
Delete all the cached data in the folder %localappdata%\Microsoft\VisualStudio Services\6.0\
Restart Visual Studio and re-open the solution from TFS.

Please try:
1). Add the author name's language in Control Panel.
2). Open that file with "CSharp Editor with Encoding".
3). Reset VS to the default settings: devenv /ResetSettings

I found the solution
Tools ====> options ===> Environment ====> show settings for : CodeLens
and then changed Font type to tahoma.
I check vs on other machines the font on others were sets to calibri but Unicode characters displayed correctly
for more info you can go to
https://msdn.microsoft.com/en-us/library/dn269218.aspx
How do I change the font and color for CodeLens?
A: Go to Tools, Options, Environment, Fonts and Colors.

Related

Set Intellisense Hints to English in VSCode?

I've downloaded VSCode in German and I've set the display language to English as described here. However, the hints for Intellisense are still in German, which is not great for debugging and understanding suggestions/mistakes, since the breadth of information online on programming related issues is in English. I found this SO question that discusses how to do it in VS, but that is over 10 years old and I don't even have the "Tools" tab in VSCode.
How to set UI language in English and IntelliSense hint Language in another language in Visual Studio 2012 ?
I also tried to search for a setting by pressing "Ctrl+," using different keywords, but all I got was highlighting toggles for Intellisense that control highlighting for different code fragments. Using "Ctrl+Shift+P" and searching for "Intellisense" etc. didn't help either.
I really do not want to deinstall VSCode and reinstall it using an English installer just so I can fix this problem, especially since I'm only using VSCode to program C++ for Unreal Engine to begin with and whenever you change something slightly Unreal likes to break things in a fit of capriciousness.
Is there a straightforward way to fix this? Here's an image of what the Intellisense hints look like. I'd love it if they were in English.
To change the language of the Itellisense you should go to the Visual Studio Installer, modify the current installation, then go to "Language Packs" section of the installer and select English. After installing the language pack go inside the IDE: Tools -> Options -> Environment -> International Settings , select English and save changes.
For further details take a look at this link
Ok, so I wasn't able to set any options for this and the only thing that worked was going to a download page of an English installer and running that. I essentially updated my 1.7.3 version of VSCode to a 1.7.4 version using an English installer instead of a German one and that fixed the issue...
Is this stupid or am I stupid?

How to keep open file input in Visual Studio Code when I change of window?

I would like to know if it is possible to keep this search engine (Ctrl-P) open if I change the window, in Visual Studio Code.
It is a not very relevant functionality but it would help me when I forget part of the name of the file I want to search for or I have to change the window to solve another situation, however, when returning to Visual Studio Code the file browser closed itself and I must return to write part of the file path from the start.
Is there a configuration or extension with this functionality?
Thank you very much!
No, you cannot keep that open when you change windows. Since the search engine provides compilers or lints for various languages that you are editing in the ide space. So when you open a new window by default VS code provides a different configuration for the script, so the search engine cannot be kept open.
A detailed description can be found here https://code.visualstudio.com/docs/getstarted/settings

Visual Studio Code - previous search

I came from Sublime to Visual Studio Code and I'm looking for the history of searches in the Visual Code , what was in the Sublime with -
Ctrl+Shift+F
and then just press ↕ to navigate between previous/next search.
How could I get the same functionality on Visual Studio Code on its search text field ?
My current Version is 1.5.2
Up: Shows the previous term in history
Down: Shows the next term in history
You can customize the keybinding to your liking using history.showPrevious and history.showNext
It's Up and Down in the search edit box.
It used to be that you had to use alt, but later they added just the arrow keys by themselves. The keyboard shortcut is customizable under history.showPrevious and history.showNext
definitely it should be accessible by UI. Although the minimalistic UI is the best of VSC
you can navigate search recent history by Alt+up/donw
There is currently no search history in Visual Studio Code. But it's part of the September milestones as you can see here: https://github.com/Microsoft/vscode/issues/5508
So the feature will probably be shipped in October 2016.

How do I auto-indent Python code in Visual Studio Code?

I'm using Visual Studio Code (not Visual Studio) on Linux and I can't seem to find out how to turn on auto-indentation for Python. I've looked all over preferences, spent some time on Google, and can't find anything.
Does anyone know how to do this?
In VS Code you can set the indentation in several places :
General/Workspace settings (bottom bar),
User settings,
language formatter settings.
When using Python, no matter what settings you set, all of them are overridden by the autopep8Args value of the autopep8 language formatter setting, which has an indent size of 4.
By default, autopep8 is used as VS Code Python formatter, but there are others, like yapf.
To update the indent size of this formatter, search in your user settings the "python.formatting.autopep8Args" and set it to : ["--indent-size=2"],
"python.formatting.autopep8Args": ["--indent-size=2"],
Visual Studio Code doesn't have much support for Python (yet), aside from syntax-highlighting, and per-file intellisense (meaning it'll provide suggestions for symbols that have been found within the current file).
I'm willing to bet that the Visual Studio Code team will, eventually, increase their support for Python within Visual Studio Code, and with this, they'll likely add support for auto-indentation.
In the meantime, it might be worth trying this Visual Studio Code extension, which aims to add better support for Python, into Visual Studio Code.
The extension does add auto-indentation for Python, to Visual Studio Code, along with many other features.
Happy scripting!
I auto-format python with autopep8, vscode can use it. It can be easily configured for tab-size and other stuff creating the config file: $HOME/.config/pep8
Here an example of that file:
[pep8]
indent-size = 2
max-line-length = 100

Eclipse shortcuts in Visual Studio 2013

Is there a way to set the shortcuts for Visual Studio to the shortcuts I'm used from eclipse?
I know I can go to the options and set every single shortcut manually. But I'm looking for a way to set them all at once. Some kind of key map import plus an eclipse key map file maybe!?
To set up your keyboard short cuts in VS2013, Go to the dialog: TOOLS->Options->Environment->Keyboard .
Once you have your environment the way you like it, export the setting in the following dialog:
TOOLS->Options->Environment->Import and Export Settings.
Once exported you can copy the file and import them to any other machine you may use. This can also be used for saving a common settings file for your team in TFS (or any other revision control system you may be using).
Personally, I have not played with this feature so your mileage may vary.