question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import auto-complete in typescript vscode

See original GitHub issue

please complete the following information:

  • OS version: Mac Catalina]
  • Editor: vscode
  • Editor version: 1.45.0
  • Programming language: ts
  • TabNine extension version: 2.8.2

Issue Details:

It is more a question than an Issue actually. I just installed TabNine and I was wondering if it could import other .ts files with autocompletion. (like IntelliSense is doing).

E.g. (Lets say I have 2 files)

// Foo.ts
export const Foo = () => {}


// Bar.ts - BEFORE AUTO-SUGGESTION
const Bar = () => {
  Foo // auto-suggestion here
}

// Bar.ts - AFTER AUTO-SUGGESTION
import { Foo } from './Foo.ts'
const Bar = () => {
  Foo()
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
dimacodotacommented, May 12, 2020

hey @gamegee the tabnine auto import feature is currently in the testing stage, we will appreciate any feedback on this, if you would like to be a beta tester, I can send you a vsix that you can test. thanks

1reaction
dimacodotacommented, Jun 4, 2020

The auto import support was released in the 2.8.4 version. To enable it, go to settings and set the Tabnine: Experimental Auto Imports to true.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Importing third-party modules - Name autocomplete VSCode ...
Type your word "Router" in your code and point the cursor at the end of the word and press Ctrl + space to...
Read more >
TypeScript Programming with Visual Studio Code
IntelliSense shows you intelligent code completion, hover information, and signature help so that you can write code more quickly and correctly. VS Code...
Read more >
Typescript auto-complete not working in VSCode · Issue #39370
I'm trying to make use of Puppeteer within a ts file which works fine except the VSCode Intellisense stops working a soon as...
Read more >
VS Code Quick Tip: JavaScript Import Autocomplete
💡 Solution: Fake reverse the import statement​​ You should then see a template for an import statement: import {} from 'module'; The module...
Read more >
VS Code tips: Import statement completions in JavaScript and ...
Today's VS Code tip: import statement completionsWrite ' import ' followed by the symbol you want to import and VS Code will help...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found