Quantcast
Channel: Active questions tagged code-completion - Stack Overflow
Browsing latest articles
Browse All 44 View Live

How to make IntelliJ display the Javadoc of autocompletion suggestions?

IntelliJ display Java code auto-completion suggestions in a drop-down menu after pressing CtrlSpace. All other IDEs manage to display the corresponding Javadoc if available. How to get IntelliJ to do...

View Article



How do I implement the inline ghost code suggestion feature in a VS Code...

I am creating a VS Code extension in which I wish to implement the feature of showing the suggested code as ghost text which is inline on the text editor and the user may press Tab to confirm/add the...

View Article

Filtering and code completion do not work when '#' character is used

I've reproduced the problem in lsp-sample (description of my original post moved below).The code completion does not work with # character. How to make it work?Added CompletionItem for...

View Article

Image may be NSFW.
Clik here to view.

The Jupyter Lab code completion is overager and often gets in the way instead...

After turning on the code completion in Jupyter Lab, I find myself constantly hitting the Escape key to swat away the constant stream of completely useless suggestions being made. This is an example,...

View Article

IDEA: "Assign statement to new local variable"?

As a long time Eclipse user, I'm playing around a little bit with IntelliJ IDEA 10. I can't seem to find out how to perform an "Assign statement to new local variable" code completion.Feature...

View Article


Image may be NSFW.
Clik here to view.

How can I make VS Code always show all inline details in the suggestion widget?

In VS Code, you can use CTRL+Space to trigger suggestion (at least that's what I use for Trigger Suggest command). The command will show the suggestion; e.g., using it on an object will show it's...

View Article

Visual Studio Code bracket auto completion

This has been annoying me for a while. VSCode doesn't let me type a closing bracked or parenthesis or the like ( ")", "]", "}") when there is already a closing symbol of the same type.In this WEBM you...

View Article

Is code completion for string values in JSON files possible?

I'm currently working with JSON files and exploring the possibility of implementing code completion specifically for string values within these files. To provide context, if I break it down, my JSON...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio 2022 ( Window for Code ) not Working

Version:Microsoft Visual Studio Community 2022 (64-bit) - CurrentVersion 17.8.3 (windows 10)The Code editor Window behaves strangely, does not work at all.The same Solution / Project if open in my...

View Article


Xcode 10 code completion placeholders — what is the "T"?

In Xcode 10 code completion, the text underlying the placeholder tokens has an extra #T# before it (to see that this is so, copy and paste the inserted code template into a different text editor):let...

View Article

Generic code completion for both an editor and an IDE

I'm trying to set up proper code completion in my favorite editor, let's call it AnEditor to avoid program-specific answers which the internets are full of. (And the language is ALanguage, you know.)...

View Article

Image may be NSFW.
Clik here to view.

Using Haskell with VS Code

I can't get my VS Code to show Haskell type hovers. Also, there's no autocompletion. All I see is just a small, empty box just above the element I hover with my mouse (see the small box right about...

View Article

Android Studio basic auto completion shortcut not working

I have checked Preferences->Editor->Code completion. Basic code completion is turned on. Shortcut is ^Space. When I click [control]+[space], it is opening spotlight search instead of code...

View Article


Image may be NSFW.
Clik here to view.

In IntelliJ IDEA, how to select next code completion using Tab?

By default we use ⬇️ to select next code completion choice, and use Tab to apply that choice. For example, here if we press Down, it will highlight InternalError; if we press Tab, it will apply the...

View Article

How Do I Disable AI Code Suggestions in PyCharm?

I would like to disable the AI code suggestions in PyCharm. I noticed them when I updated to PyCharm 2023.3.2.I looked up the PyCharm documentation on Code Completion but didn't find anything helpful.

View Article


Studio Bot Missing in latest andriod studio bot

I have just installed latest version of andriod studio lguana. But it is missing the studio Bot an AI code companion. I have searched a lot but unable to find it. Preview of lguana more tools expandedI...

View Article

Custom type hint annotation

I just wrote a simple @autowired decorator for Python that instantiate classes based on type annotations.To enable lazy initialization of the class, the package provides a lazy(type_annotation: (Type,...

View Article


How to disable automatic double quotation marks in Visual Studio 2022

I used Visual Studio 2022 for some time now and it has a really annoying behaviour. When I enter a quotation mark ›"‹ before existing text, to wrap this text in quotation marks, Visual Studio instead...

View Article

Image may be NSFW.
Clik here to view.

Pycharm debugger console not autocompleting variables created in the debugger...

I have just upgraded to PyCharm 2023.3.3 community edition and am experiencing a weird issue that hasn't occurred before. System is Windows 10 64 bit, and this has worked fine on this machine...

View Article

How to do hover and autosuggest at the same time in Monaco Editor?

Monaco Editor is very cool, but I've been beating my head against it for awhile, and the sparse documentation and uncommented examples they provide have not helped.Here's my situation. Like so many...

View Article

MyAwesomeService">Code completion in PyCharm while skipping characters i.e "mas" =>...

In PyCharm community, I want to activate code completion while skipping characters. I want my code completion to be case insensitive and to allow missing characters.Some examples:"mas" =>...

View Article


code completion based on a hierarchy of properties

I want to create a class that has the following structure:ClassName UpperLevel Element_A: val_1 = 'example' Element_B: Tuple(str, str) Element_C: Tuple(str, str) LowerLevel Element_D: Tuple(str, str)...

View Article


Is there a tool like Github Copilot which has a (Python 3) API?

Tools like Github Copilot can generate/complete code and/or comments while typing within an IDE. It looks like they are limited to this use case.However, I actually want to something similar to the...

View Article

How to enable/provide a vscode CompletionItemProvider when inside string...

I have a pretty basic vscode extension with a CompletionItemProvider. This works all well but when inside a string literal ("") the completion does not work anymore. I've found some older threads on...

View Article

Image may be NSFW.
Clik here to view.

Show quick documentation near Code Completion window for selected word in VS...

Is it possible to show quick documentation for the Selected word in code completion window in Vs Code with C# ?Quick documentation shortcut is showing documentation for the word behind the cursor...

View Article


How can I know if a vscode intelliSense suggestion is visible?

I am creating an inline code completion plugin for vscode.I am using the InlineCompletionItemProvider to show the inline suggestions.However, I am making the call to generate suggestion even when an...

View Article

Code completion for Lua in vscode not working

Code completion in Visual Studio Code for Lua is not working. I have Lua extension installed, but that did not solve the problem. Any suggestions??Nothing really helped. I opened the folder inside a...

View Article

Rubymine css code completion does not work

Simple html file with attached css file. Code completion does not work. (inline css does)I've spent lots of hours trying to figure it out. Hope this will save some time for those who are still...

View Article

Automatic expression generation in Dbeaver for the columns added after...

I am using dbeaver and whenever i try to use columns with alias or with table name, it suddenly generates a text automatically which is very annoying.this is the...

View Article



Why does annotating this object with a Record type remove Intellisense?

I am creating a data-file that looks like this:interface ISprite { textureName: string, frame: Frame, origin: Vec2, zIndex?: number}export let sprites: Record<string, ISprite> = { monster: {...

View Article
Browsing latest articles
Browse All 44 View Live




Latest Images