julianpaulozzi / VSNewTranslator

Translates selected text in code editor. This extension is based on the Translator project: http://vstranslator.codeplex.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Translator

for Visual Studio

A super versatile way to translate, edit and replace any selected text directly from the Visual Studio editor with Bing Translator and Google Translator.

In action

This extension is based on the Bender Bending Rodriguez Translator project with some improvements. See it here.

Well as the original extension you can translate selected text using the context menu or assign a keyboard shortcut than translations are shown in popups below selected text.

####Improvements

  • Everything about keyboard.

  • You can use the arrows keys to select the translation (up and down), open and close the item options menu (left and right).

  • Close any party with "Esc".

  • Copy to clipboard the selected translation on list with "Ctrl + C" or copy all on item menu.

  • Assign a keyboard shortcut to command on "Option > Environment > Keyboard" and find to "EditorContextMenus.CodeWindow.TranslateSelection".

  • Finally replace the text with the translation using "Enter" ou "Spacebar".

    Important to ReSharper users: Use the "Spacebar" as the "Enter" does not behave properly.

  • Get translations of both services at the same time in results (configurable). So you can choose what best fits.

  • Translations are kept in memory cache, this allowing instant translation of repetitive texts.

  • Can edit and replace the translation. Will be available in the list the next time you translate the same text.

  • A more integrated experience. The style match with theme chosen for Visual Studio.

Please obtain and configure on "Options > New Translator" your own Bing Translator credential to avoid cutting the service. See how to here.

Visual Studio themes match:

With dark theme With blue theme With light theme

Visual Studio Options:

Options

Assign Visual Studio keyboard:

Options


#####Julian Paulozzi - Paulozzi&Co 2015.

About

Translates selected text in code editor. This extension is based on the Translator project: http://vstranslator.codeplex.com


Languages

Language:C# 100.0%