Questions tagged [intellisense]
IntelliSense is Microsoft's implementation of automatic [code-completion], best known for its use in the Microsoft Visual Studio integrated development environment.
4,480
questions
0
votes
0
answers
20
views
How to enable IDE IntelliSense with dynamic imported python classes?
I have thousands of models in my package, each of them contains one class. Users can choose model they want to use by:
from myproject.type1.models.m1 import m1
Very inconvenient.
The subfolder looks ...
1
vote
1
answer
35
views
How to incorporate all of my c# project file to .sln and get IntelliSense?
I'm beginning tutorial for C# programming on Visual Studio Code. My first project folder (.csproj & etc) created works well with .sln and showing helps and suggestion from IntelliSense such as ...
0
votes
0
answers
19
views
How to enlarge the size of this part of Eclipse? [closed]
good day, I have managed to enlarge almost all the letters, but not the one I show you in my forum. Does anyone know how to expand it?
I managed to enlarge the size of the letters when it explains ...
0
votes
1
answer
26
views
Change Character Position for VS Code CompletionItem
Extending on the LSP autocomplete fix from this answer, I am now trying to get a curly bracket autocomplete where the cursor is in the middle of the curly brackets on completion. This is what I have ...
1
vote
0
answers
28
views
Intellisence and syntax coloring fail in vscode remote C/C++ development
In my local machine, the intellisense and syntax coloring work normally. But when I use SSH to connect to the remote server, somenthing goes wrong.
First, the syntax coloring can not correctly assign ...
0
votes
1
answer
28
views
Force VS Code to Trigger Autocomplete For Keywords Starting with Non-Alphanumeric Symbols
I am trying to make a simple autocomplete for the LSP using:
import * as vscode from 'vscode';
export function activate(context: vscode.ExtensionContext) {
const provider = vscode.languages....
0
votes
1
answer
33
views
typescript types from js
I have a typescript project that imports three js.
i.e.
import * as THREE from "three";
But it is a bit non-standard in the sense that I don't have access to NPM, and no node-modules.
So ...
0
votes
1
answer
39
views
Can you query multiple servers on vscode-mssql extension?
I have to regularly query one of databases, which are scattered on 6 different servers. I understand the workflow of creating an SQL file and assigning a profile with a single server to it and then ...
0
votes
0
answers
29
views
VSCode IntelliSense not working properly for NextJS Typescript
The problem
I've created a Next app with npx create-next-app using the App router and a bunch of 3rd party packages such as next-auth, axios, etc.
The problem is that I don't get import suggestions ...
0
votes
1
answer
12
views
Intellisense configuration for multiple builds
I have a project that has 3 different build configurations. One is for unit testing on x86, one is for unit testing on arm and one is the normal project build for our arm target.
The problem is, that ...
-1
votes
0
answers
26
views
VS Code - Error: EPERM: operation not permitted problem when trying to update VS code
When I open VS code and try to check for update, I always encounter this problem.
EPERM: operation not permitted, mkdir 'C:\PROGRA~2\MINGW-~1\I686-8~1.0-P\vscode-stable-user-x64'
It not only appeared ...
0
votes
0
answers
28
views
Why am I getting no import suggestions in my React Project in VS Code?
I am trying to figure out why I am getting no intelliSense suggestions or import suggestions
I am following along with a youtube video to build a react portfolio website and his suggestions are giving ...
0
votes
1
answer
80
views
Visual Studio 2022 IntelliSense is broken after ReSharper suspended (license expired) / uninstalled
Visual Studio 2022 IntelliSense is broken after ReSharper suspended (license expired) / uninstalled. How to fix it?
0
votes
1
answer
43
views
Missing FileSystemDirectoryHandle.keys() method in VSCode IntelliSense
I miss the FileSystemDirectoryHandle.keys() method in VS Code (version 1.84.1). TypeScript version 5.2.2 is used. Is there a specific reason that this method is not shown and is there a plan to ...
0
votes
1
answer
32
views
Is there a Visual Studio extension for showing brush colors in intellisense?
This would be a nice to have because I am tired of having to look up what the colors look like. Can you get an extension in visual studio that shows the actual brush color and not just the list of ...
0
votes
0
answers
24
views
Prevent Visual Studio IntelliSense from Seeing References of NuGet Projects
Environment
I have a .NET Standard library that references a particular NuGet package (ClosedXML). This NuGet package references other NuGet packages (in this case, DocumentFormat.OpenXml).
Problem
As ...
0
votes
1
answer
107
views
VS Code C/C++ IntelliSense not working with Remote SSH
My local machine is Windows 10 (VS Code 1.83.1, C/C++ extension 1.18.0).
My remote machine is Red Hat 8 (VS Code 1.81.1, C/C++ extension 1.18.0).
C++ IntelliSense, Outline, and Go To Definition work ...
0
votes
1
answer
102
views
How to remove LINQ extension methods from Intellisense?
Basically I want the opposite of this question: Intellisense stopped working for Linq to Entities
This is driving me mad since I downloaded VS 2022 and upgraded my projects to .NET 7
VS is placing ...
0
votes
0
answers
12
views
docker-vscode setting
Now i install docker desktop in my windows PC, and then make linux container using docker.
and install vscode in windows,through remote development extension in vscode, connect docker container.
but ...
0
votes
1
answer
65
views
React: Tailwind CSS with DaisyUI Error: Object.hasOwn is not a function
My Tailwind CSS Intellisense extension is giving me this error in the output:
[Error - 7:41:37 PM] Tailwind CSS: Object.hasOwn is not a function
TypeError: Object.hasOwn is not a function
Tailwind ...
0
votes
0
answers
19
views
VsCode IntelliSense and node/web-shared classes
as we all know, we can easily use classes from a single file for both Node and web applications.
//myclass.js
class MyClass { /* ... */ };
if (typeof module === "object")
{
module....
0
votes
0
answers
33
views
Is it possible to configure intellisense for a Cython project?
I downloaded a Cython project and its composition is as follows:
Project
├── build
├── include
├── setup.py
└── src
in which src and include folders contain some .cpp and .h files, respectively.
I ...
1
vote
1
answer
94
views
Methods and attributes do not show when dot is pressed (intellisense)
Yesterday I upgraded from 3.11 to python 3.12.
The editor that i use is VScode.
When i use standard patterns with matplotlib (from the official docs), the intellisense does not recognise the types and ...
0
votes
0
answers
44
views
VS Code remote doesn't display symbols (C++)
I installed VSCode on my remote host with the C/C++ extension pack. However, it seems that it doesn't display symbols properly, as the dropdown is empty apart from this message:
"The active ...
1
vote
1
answer
39
views
Autocompletion of column names or list element names R in VSCode
I really like to use VSCode but one limitation compared to rstudio for R is that vscode is unable to tab autocomplete column names for dataframes or named elements in lists. See screen shots below. ...
0
votes
2
answers
118
views
What is "case true or true or true when [...]" syntax in switch-statements?
I have the following code snippet in my project (I simplified it as much as possible):
private void someFunc(bool a, bool b, bool c, int x, int y) {
if ((a || b || c) && x != 1)
{
// do ...
0
votes
0
answers
92
views
local directory #include paths in Visual Studio 2022 aren't resolved by Intellisense for C++
I've got the following include statement:
#include "MazeParser.h"
This compiles perfectly. However, in Intellisense, it doesn't resolve (a screenshot is attached). I can include STL headers ...
0
votes
1
answer
79
views
VSCode IntelliSense autocomplete suddenly stopped working with node modules
I'm trying to make a steam bot with JS, and IntelliSense does not work.
I have my SteamUser object declared:
const SteamUser = require("steam-user");
const client = new SteamUser()
It ...
0
votes
0
answers
22
views
Is there a way to set npm intellisense to work including packages from package-lock.json?
Does anyone know if it's possible to configure npm intellisense on VSCode to work observing modules not specified in package.json, but its dependencies, since they're already installed and listed ...
0
votes
0
answers
19
views
Trying to create a .D.TS file based on custom API library
So, I work on platform that leverages it's own OOP API library based on JavaScript. The main object is called "controller" and is passed in a functioned called "run". From there ...
0
votes
0
answers
23
views
Intellisense not working in python 3.11.4
I recently installed python and jupyter notebook in my system after a format. However, after fresh installation, I am not able to activate "hinterland" extension for providing intellisense ...
1
vote
1
answer
63
views
Visual Studio intellisense extension
I'm using Visual Studio 2022. I'm trying to write my own language extension that does auto complete for a custom language my work uses. I have tried following documentation, videos and chat gpt but ...
0
votes
1
answer
47
views
Visual studio suggestion window covers code
I am developing in C/C++ using Visual Studio Community and Visual GDB. When I type things, the intellisense suggestion window covers the code so that I cant see anything. And as I type the windows ...
-1
votes
1
answer
233
views
IntelliSense in Visual Studio Code not working properly
I have installed VS Code to my Arch Linux laptop to write C# programs instead of Visual Studio on Windows.
I have installed C# and .NET extensions, but I have no normal code suggestions for types, ...
0
votes
1
answer
65
views
Vscode intellisense give weird hint when input brackets for function, shift+enter would autofill
Check the Gif for the situation:
I use C# in Unity, There was no problem like that before, it only appeared in recent months, it seems after new unity-vscode package was installed.
This is annoying ...
0
votes
0
answers
24
views
TypeScript with VSC: Intellisense not recognizing inherited methods from super class
I've been developing a monorepo project and in one of my packages I have an abstract class to deal with Firestore CRUD:
export abstract class FirestoreOperator<E> implements DataOperator<E&...
3
votes
1
answer
204
views
Array is too large
I'm on Visual Studio, and I'm building a 64 bit program. I have 16gb RAM. I run into the following error:
int main()
{
auto* p = new char[2'200'000'000]; // array is too large
auto* p = new ...
0
votes
1
answer
20
views
Is there custom procedural import path in javascript intellisense in vscode?
I want to make JS(ESM) intellisense for vscode in Firefox codebase for certain Firefox distribution.
In firefox, I have to register modules to build scripts like moz.build.
and imports like "...
0
votes
0
answers
67
views
Python Linter or intellisense or pylance in VSCode not working in server path
in the last week, I had a problem with my VsCode, I'm developing Python RPA and the lint (pylance) didn't work in the local server path, does not identify the function, and the possible errors
Program ...
0
votes
0
answers
45
views
VS Code Intellisense icons not correct?
In VS Code, Intellisense shows a "variable" icon for many functions such as, for instance, np.abs() as can be seen in the screenshot hereunder :
I'm new to Python but I would think that np....
0
votes
1
answer
76
views
ReSharper make C++ IntelliSense warnings vanish
Been played by subtleties of C++ references, wondering why code wouldn't behave as expected.
Someone versed in C++ pointed out what the actual error was: the lack of using a reference.
The actual ...
0
votes
0
answers
21
views
editing WordPress related code in visual studio code with proper intelisense
There are so many extentions that are supposed to provide intelisense when developing for php in VSC.
can someone please tell me what do i need to do so that I will be able to write code ( used as ...
0
votes
0
answers
31
views
How to get IntelliSense to recognize macro arguments in C?
When I write out this function in VS Code:
/**
* Prints the number passed in to error output.
* @param number The number to print
* @return void
*/
void print_num_error(int number);
...
0
votes
2
answers
49
views
Intellisense JavaScript not working as expected from past experience
I have been going through a Udemy JavaScript course and have had all suggestions pop up in the same way as the instructors video does as they walk through the lecture.
Now we are on classes, and the ....
0
votes
1
answer
57
views
Typescript Intellisense with Web Forms and npm
i'm using npm in my web forms project. Some of the modules come with typescript d.ts files or with an extra @types package. jQuery for example: https://www.npmjs.com/package/@types/jquery.
Installing ...
1
vote
1
answer
45
views
How can I get JavaScript intellisense to show in VS Code whenever the file is not open?
In VS Code, whenever I have a javascript file open and am using code that is in that file on a different javascript file it gives me javascript intellisense, but whenever I close the first file and ...
0
votes
1
answer
36
views
How to suppress wrong intellisense from non-current configuration in Visual Studio?
I'm developing a cross-platform(Win11 and Android) project using Visual Studio and CMake. I created multiple CMake configuration to build library of the two platform separately:
But I've found a ...
0
votes
1
answer
42
views
Get proper intellisense with overloaded multimethods in python
The following code works as expected:
from multimethod import multimethod
@multimethod
def foo(a: int):
print(f"only {a}")
@multimethod
def foo(a: int, b: int):
print(f"{a} ...
0
votes
0
answers
25
views
Codeigniter 4 Visual Studio database objects suggestions
I've setup a new Codeigniter 4 project and I would like to use the inbuilt model functions. While I'm using them I noticed my Visual Studio is unable to suggest the correct object attributes in ...
0
votes
1
answer
30
views
Intellisense is not working for elements with a class in querySelectorAll in VS code [duplicate]
please check the problem here:
In javscript When selecting elements with querySelectorAll() and adding trying to add them with . or a class. Accessing the node list elements with index values in that ...