Git Product home page Git Product logo

auto-import's Introduction

Auto Import

Automatically finds, parses and provides code actions and code completion for all available imports. Works with Typescript and TSX.

Multi-root workspace Ready!



Configuration

filesToScan - Glob for which files in your workspace to scan, defaults to '**/*.{ts, tsx}'

showNotifications - Controls if the annoying notifications should be shown, defaults to false

doubleQuotes - Use double quotes rather than single

spaceBetweenBraces - Difference between import {test} and import { test }

autoComplete - Adds found items to intellisense and automatically imports then

useSemiColon - Use ; at the end of a line e.g Import * from ./app or Import * from ./app; - Default True


Changelog

1.5.3

  • Finally merged long awaited pull requsts :)
  • Multi-root workspace ready!

1.5.2

  • Added support for Enum & Type imports.
  • Added ability to toggle semi colons - see setting useSemiColon.
  • Added [AI] before import statements - so you know if its come from Auto Import or Typescript.

1.2.2

  • Fix for imports not being merged.

1.2.1

  • Added optional auto completion for all known imports ( enabled by default ).
  • Improved scanning and seeking speed for large projects.
  • TSX Supported added, Thanks to lukeautry
  • Minor bug fixes and improvements.

1.0.2/1.0.3

1.0.1

32swinnqchdncsrvqcnb4wzr2t3e5nopblvhsbhkky4sj2dhyp7a

  • Fixed breaking bug with vs 1.5.* and < TypeScript 2.0.0.

1.0

  • Few small tweaks and fixed error with vscode 1.5.*.

0.9

  • Added Import status bar, currently show you how many importable objects you have.
  • Correctly uses configured file paths for fileWatcher.
  • Fixed new exports not being immediately discovered.
  • CodeAction import paths are relative to the current file.
  • Typings are now excluded by default (along with node_modules and jspm_packages)

0.8.1

  • Fixed Windows paths issue

0.8

  • Nicer import paths.
  • Imports are now merged if they are from the same location.
  • Configuration for ' or ".
  • Works on Windows.
  • Now on Github.

0.7 / 0.7 / 0.7.2

  • Add configuration to control notifications and files to scan
  • Fixed a few bugs
  • Refactored code

0.6.0

  • Partial support for node_modules imports. AutoImport will scan your already used imports and provide them as suggestions when appropriate, so you will only need to type out your import once in one file and all other times will be handled by AutoImport. Version 0.7 will have full support for this.

0.5.1

  • General improvements, icon added and extension will now also watch for local file changes.

Todo

  • Work with node_modules (@angular / underscore for example).

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.