Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Latest commit

 

History

History
224 lines (181 loc) · 12.2 KB

CHANGELOG.md

File metadata and controls

224 lines (181 loc) · 12.2 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Fixed

  • Some abstract methods were not implemented from interfaces
  • Optional parameters are implemented now (#141)

Removed

  • The document view, since there is a command cmd+shift+o that basically does the same, but better

Added

  • View (in the explorer) with the code outline (code structure) of the actual file - Jumps to code on click

Fixed

  • Boolean settings are returned correctly now (#222)
  • Code outline does correctly jump to the selected element (#219)
  • References (and therefore imports) in namespaces and modules are recognized and not longer removed (#214)
  • Complex regex are now possible in import groups (e.g. /@angular|regex/core/?.*/) (#218)

Added

  • Import grouping, imports are now grouped and sorted (read the docs in README) (#102)
  • Option to add a trailing comma to a multiline import (at the last import) (#100)

Changed

  • Multiline import statement threshold to a new default value 125, since github thinks this is a good value source-code-line-length

Removed

  • newImportLocation setting, since the imports are grouped and sorted, the new import location is obsolete (#102)

Fixed

  • Default imports are removed regardless if they are used or not (#149)
  • Support for generic interfaces and abstract classes for the implement elements feature of the light bulb (#158)
  • Deprecation warnings during testing of the extension (sinon).

Fixed

  • Fixing pathing and undefined issues (#194) - actual showstopper

Fixed

  • Server output (server logger) shows undefined (#194)
  • Files are not indexed when changed (#194)

Big refactoring.

The whole refactoring is part of (#143)

Fixed

  • Imports from newly added tsx files aren't seen by resolver (#169)
  • Imports from modules with index file as the same name as containing folder no longer double up import path (i.e. Angular)
  • Files without exports are no longer added to the index

Added

  • Setting typescriptHero.resolver.disableImportsSorting that disables sorting of imports during organize.

Changed

  • Setting pathStringDelimiter is now called stringQuoteStyle. It just makes more sense.
  • Whole extension is now divided to an extension part and a language-server part. (YAY PERFORMANCE!)
  • Parsing is done in the server, the rest should stay in the extension part so that one can access the stuff directly.
  • Changed linting to airbnb linting

Added

  • Added setting typescriptHero.resolver.insertSemicolons to make disabling of semicolon emit possible (defaults to true)

Changed

  • Default value of typescriptHero.resolver.ignorePatterns does not contain node_modules anymore
  • Upgraded to TS2.1.4 (#148)

Fixed

  • "Flame" - state (error) should be shown correctly when indexing
  • Duplicate declarations are filtered (overloads from declarations) (#105)
  • Only real workspace files are filtered by the exclude pattern (node_modules and typings are parsed) (#103)
  • Variables are sorted to the top to reduce auto import for console (#99)
  • Extension does not crash with prototype methods (thanks @gund) (#79)

Added

  • Classmanager that can modify classes in a document (#127)
  • Support for light-bulb feature in tsx files (#128)
  • CodeFix can now implement missing methods and properties from interfaces and abstract classes (#114)

Added

  • Notice when a symbol cannot be found by light bulb (#123)

Fixed

  • All possible found declarations are listen in light-blub (#123)
  • Removed "required" user answer (#121)

Added

  • JSDOCS!
  • Code action provider (light bulb) that imports missing imports as a code fix (#11)
  • Add all missing imports command usable through the gui or by command (#106)

Changed

  • Documents are managed by a controller that calculates all edits first before committing the changes

Fixed

  • Initialize extension and completion provider for typescript react (.tsx) files (#112)
  • Ticks for expression strings are also considered as strings in autocompletion (`)

Added

  • Typescript symbols know their positions (resources, declarations, imports, exports)
  • Statusbar item for the state of the debug restarter (#85)
  • Import a default export does suggest a name (#71)
  • Support for @types style definitions of TS2.0 (#77)

Changed

  • Upgrade to TS2.0 (#88)
  • Default value of typescriptHero.resolver.insertSpaceBeforeAndAfterImportBraces is true now

Fixed

  • New imports will be below "use strict" if it's the first line (#73)
  • Multiline imports respect editor.tabSize (#74)
  • Reload index when configuration of the ignore patterns changed (#75)
  • Autocomplete filters local file usages (#69)
  • Default exports do not break extension anymore (#79)
  • Node pathes are correctly split (#76)
  • Exports from root index.ts are not empty

Added

  • Support for multiline imports (#60)
  • Added setting for multiline threshold
  • Configurable new import location (at top of the file or at the cursor position) (#41)
  • Asks for alias if a specifier is already present (#44)

Fixed

  • Autocomplete does not suggest items that are already imported (#64)
  • Autocomplete does not suggest items of the own file (#61)
  • Does not generate duplicates when multiline imports are used (#43)
  • Multiline imports were not working with multiple imports
  • Autocomplete does not add other classes from a file as well

Fixed

  • Code completions does show when user types (#55)
  • Default exports and imports are working (#40)
  • New created files are correctly indexed now (#46)

Added

  • More tests! :-) (#8)
  • CodeCompletionProvider that autocompletes your symbols and adds the imports if necessary (#5)
  • Support for *.tsx files (#42)

Changed

  • Import under cursor does only import if it's an exact match (PR #35)
  • Own imports (workspace) are sorted to the top (#37)
  • Updated inversify to v2

Fixed

  • On Windows, forwardslashes will be used instead of backslashes (#19) (definitly this time)
  • export xxx as yyy does now correctly use the alias of the declaration (#36)
  • Build directories are ignored by default (for indexing) (#48)
  • Substructures import parent index.ts files correctly now (#49)

Added

  • Command to add an import from a symbol under the current cursor (#22)

Changed

  • Complete indexing / parsing engine was rewritten
  • Adding an import does not automatically organize the imports afterwards (#22, #23)

Fixed

  • Exports were not recursively merged (#25)
  • Imports should be added with forwardslashes (#19)
  • Imports are vanishing when usings are PropertyAssignments (#27)
  • Imports are vanishing on organize imports (#30)

Added

  • Option to insert spaces before and after the curly braces of an import statement

Fixed

  • Duplicated module entries should be gone
  • Url for "Get Started" on publish page

Added

  • Output channel for logging (configurable verbosity)
  • Commands from the resolver extension (to the cmd gui)

Fixed

  • Tests on travis-ci
  • Typos

Added

  • Organize imports
  • Add new imports
  • Debug restarter feature
  • Command palette (ctrl+alt+g)

Fixed

  • Various bugs in AST parsing