intellisense

Add a new language to Visual Studio 2010 with syntax highlighting and intellisense

冷暖自知 提交于 2020-01-01 00:44:29
问题 I am trying to add support for a different language in Visual Studio 2010. I was hoping to add custom syntax highlighting, and have some sort of basic intellisense work with it. The language I am trying to add is 4Js Genero (a newer version of Informix-4GL). I basically just need support for the .4gl and . per file extensions that are used in Genero/4GL. Does anyone know how to do this, or can point me in the right direction? 回答1: It's not really for the faint of heart. Don't underestimate

Add a new language to Visual Studio 2010 with syntax highlighting and intellisense

走远了吗. 提交于 2020-01-01 00:44:27
问题 I am trying to add support for a different language in Visual Studio 2010. I was hoping to add custom syntax highlighting, and have some sort of basic intellisense work with it. The language I am trying to add is 4Js Genero (a newer version of Informix-4GL). I basically just need support for the .4gl and . per file extensions that are used in Genero/4GL. Does anyone know how to do this, or can point me in the right direction? 回答1: It's not really for the faint of heart. Don't underestimate

VS 2008 Intellisense missing: the key combination is bound to command which is not currently available

烈酒焚心 提交于 2019-12-30 18:26:09
问题 Intellisense has stopped working for my aspx files, and I've looked at the other questions that address the issue with no solution. When I try to format the aspx document (Ctrl-K, Ctrl-D) the status bar says "The key combination is bound to command (Format Document) which is not currently available." The outlining is no longer showing up. I have tried the /ResetSettings flag. I'm not using resharper. I've verified the settings (Tools -> Options, Text Editor) for both C#, Basic, and HTML as

VS Code autocompletion base on word in file

余生颓废 提交于 2019-12-30 17:58:05
问题 I just begin with VS Code and I'm really happy with it at the moment ! I'm coming from Notepad++ and I didn't found any IDE at the same "level" of it for the things I'm doing.. Until now! I really like what VS Code is doing and how all modern integrated technology is helping me. But I miss one thing that NPP do is the autocomplete base on word in the file. So can I do the same in VS Code ? Thanks. 回答1: Add this to your settings.json, and restart vs code: // Controls how JavaScript

How do I make the Enter key on intellisense when typeing in VB react the same way as in C# in Visual Studio?

北城以北 提交于 2019-12-30 17:39:51
问题 I'm using Visual Studio 2008 and I'm used to C# where when Intellisense pops up, I select what I want by hitting enter and it doesn't skip down to the next line. In VB when I hit the enter on intellisense, I jump to the next line. Does anyone know where the setting for this intellisense option might be? 回答1: Hitting the SPACEBAR or TAB key in VB does the same thing that ENTER does in C#. 回答2: I know that this doesn't really answer your question, but intellisense is designed to work so that

VSCode TypeScript Intellisense not working

被刻印的时光 ゝ 提交于 2019-12-30 11:55:15
问题 I am pulling my hair out here, literally. VSCode 1.6.0 on Mac, Typescript 2.0.2, but I have also tried 2.0.0. I've tried targeting es5, es6, with or without commonjs module targeting. I can't get intellisense for other files local to my project nor anything in the node_modules folder. I even installed typescript files from node_modules into my typings folder and those don't work. The only intellisense I get is for my globally installed typings. { "compilerOptions": { "target": "es6",

Is Visual C++ intellisense “smarter” than the compiler

ぐ巨炮叔叔 提交于 2019-12-30 11:13:08
问题 I have the following scenario. I have a base class from which a class derives. Everything appears good however, every time I hover my mouse cursor over an inherited member of the base class, the intellisense shows it fine, EG BaseClass::SomeMember. However, when I try to compile, the compiler shows various errors(they are about the variables and member functions that the intellisense was reporting well). The compiler says 'they're not valid identifiers', that they don't 'belong to a global

Visual Studio 2017: Disable Intellisense for CodeSnippets

ぐ巨炮叔叔 提交于 2019-12-30 09:37:14
问题 I'm using Visual Studio 2017 Enterprise, Version 15.3.3 I looks like IntelliSense has some new features for code completion. On of this feature is, that a field name is automatically suggested when a type is written. SpacePosition s.. // starting with s, Intellisense suggest "space", "position" and "spacePosition" I like this feature in general but not for code snippets. Using a code snipped I have the problem, that the name of a literal is automatically replaced by IntelliSense after

Is it possible to provide intellisense for dynamic objects in visual studio?

点点圈 提交于 2019-12-30 06:28:30
问题 I am using dynamic objects in a project, and I'd like to provide intellisense for the object. I understand that Visual Studio can't know what to show for intellisense, but if I can plug into the intellisense, I do know what entries should show up. Is there a way to extend Visual Studio's intellisense? If so, any pointers? Thanks! 回答1: You can use Editor Extension Points. You can find specific information for extending Intellisense near the bottom of this page: Editor Extension Points From

Limited Intelliesense in VS2013 on MVC3 project

喜欢而已 提交于 2019-12-30 05:43:14
问题 I recently installed vs 2013 professional and opened one of my side project applications in it . The project is an MVC3 application using the razor view engine. I noticed that when editing a view (cshtml ) I wasn't getting access to intellisense that I was used to in 2012. 2 Examples i noticed right away were @Url.Content() and @Viewbag. The code still compiles and runs, just no intellisense. After messing with it a bit i figured i should check the upgrade log and sure enough i found ...