Giter Site home page Giter Site logo

Comments (3)

jkeech avatar jkeech commented on August 12, 2024

The VS Code extension for IntelliCode supports TS/JS, Python, and Java. C#, XAML, and C++ are supported in the Visual Studio extension for IntelliCode. You can see more details about the full set of supported languages and which versions of each editor and IDE they are supported in at https://visualstudio.microsoft.com/services/intellicode/.

Unfortunately, if you are using C# in VS Code, you will not see any IntelliCode recommendations since it's not currently one of the supported IntelliCode languages in VS Code. JavaScript is supposed to work though. If you create a new .js file and type console., do you see the starred suggestions?

image

If not, could you paste the output of the VS IntelliCode output window? It should say something like the following:

Acquiring model 'intellisense-members' for javascript
Querying IntelliCode service for available models.
Cached model is up to date.

If you have IntelliCode installed but don't see any suggestions for .js files, one possibility is that you have another extension installed which is replacing the full completion list (overriding the default language server). In this case, the other extension would be masking the IntelliCode suggestions.

from intellicode.

DanJ210 avatar DanJ210 commented on August 12, 2024

I saw the stars come up the other day but when I backspaced and retyped the same thing they weren't there, I believe I was in C#. Yes I read about the supported languages.

I did create a new .js filed and typed console. and the stars did come up. I went back to C# files to try but I can't seem to get the stars to come up. Not like in Visual Studio.

So maybe I'm just not understanding when and why the AI suggestions would come up. In Visual Studio the extension analyzes your code and models. Maybe that's not happening in VS Code for obvious reasons.

I just thought I'd share my experience anyway just in case I'm doing something wrong or if I can help.

from intellicode.

jkeech avatar jkeech commented on August 12, 2024

@DanJ210, just to confirm, were you trying to see the IntelliCode starred suggestions in VS Code for .cs files? If so, this is expected not to work since C# is only supported in the Visual Studio version of IntelliCode.

For reference, here is the supported language matrix:

Language VS Code VS 2017 (15.8+) VS 2019 (16.0+)
C# ✔️ ✔️
C++ ✔️
Java ✔️
JS/TS ✔️
Python ✔️
XAML ✔️ ✔️

from intellicode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.