- Normalize file path when searching for existing typescript buffer
- Fix #1437
-
Added
typescript:organize-imports
command (needs recent enough TypeScript) -
Added option for suppressing all diagnostics
-
Added an option to ignore unused* suggestion diagnostics specifically
See #1433 for context.
Long story short, TypeScript 2.9 will report unused locals/parameters/etc regardless of tsconfig settings, just with different severity. This option lets you disable those lower-serverity diagnostics specifically.
- Updated dependencies. In particular, bundled TypeScript version bumped to v2.9.2
- Refactored commands code
- Added order to settings
- Configurable tooltip delay
- Removed unneeded tooltip delay
- Allow refactors for empty selection
- Clean-up client code a bit
- Don't ignore insertText autocompletion suggestions
- Minor bugfixes in initializeConfig command
- Enabled no-shadowed-variable tslint diagnostic
- Enabled no-unsafe-any tslint diagnostic
- Fix #1423 (unhandled error when tsserver is terminated)
- Bundle TypeScript 2.8
- Add tslint-language-service to set-up.
- Clean up client code
- Add "suggestion diagnostics"
- Fix autocomplete and codefix for tree-sitter
- Search all panes when opening files (fixes #898)
- Internal code optimizations
- Add applyEdits function that also flushes changes to tsserver
- Add
typescript:refactor-selection
command to show applicable refactors for a selection (Daniel Contreras) - Update to TypeScript 2.7
- Normalize path in ErrorPusher.getErrorsAt
- Implement showExpressionType cancellation
- strict-boolean-expressions
- Fix spec runner
- Accept tree-sitter grammar
- Avoid duplicate
open
command (which confuses tsserver) - Normalize errorPusher path on storage
- Fix #1413
- Fix semantic view display on initial creation
-
Track exprTypeTooltip globally
This should help with tooltips getting "stuck" occasionally.
- [Bufgix] invalid comparison
- Fix TypeScript dependency
- Use external highlighter in tsView instead of MiniEditor
- Should be a little bit more efficient and avoids flickering due to asynchronous tokenization
- Remove $ from find-references line number
- Do not update selectView after resolution
- Avoids unexpected behavior when selectView is canceled before it loads
- Fix symbols-view offset
- Going to an item from symbols-view was offset by 1 character to the right
- Updates for Atom 1.24
- Added an alternative to symbols-view (by russa)
- For file symbols, the same engine is used as for outline view
- For project symbols,
nav-to
tsserver command is used. It requires at least one symbol to search for.
- Improvements to
typescript:return-from-declaration
- All navigation commands (
find-references
,go-to-declaration
, etc) save current editor position - Added new command
typescript:show-editor-position-history
to show backlog of editor positions, thatreturn-from-declaration
will go back to - Editor position history is persisted across Atom restarts (per project). To avoid bloating, total number of history items is limited to 100
- All navigation commands (
- Added
typescript:reload-projects
command- Useful when tsserver isn't aware of new or removed files -- previously this required Atom restart
- Matched substring is highlighted in all select views (like Atom's bundled symbols-view)
- Streamlined TypeScript file detection
- TypeScript file extension is assumed to be one of ".ts", ".tst", ".tsx"
- If it's open in editor, grammar is assumed to be one of "source.ts", "source.tsx"
- A file has to be saved (i.e. have a file path)
- Many internal improvements
- Completely reworked tooltip management
- Most commands are bound to text-editor instead of the workspace
- Object lifetime management improvements
- Removed duplicate and obsolete code
- Fix README link to CHANGELOG (by Fedde Schaeffer)
- Merge pull request #1402 "Center cursor after open in goToDeclaration" by Kai Curtis
- Merge pull request #1280 "Re-adding semantic view" by russaa
- Use BufferedNodeProcess to spawn tsc (fixes 'init tsconfig' on Windows)
- Fix occurrence markers
-
Show build error when "Emit failed" is clicked
-
Re-add progress bar for emit
-
Hide successful build status report "Emit success" after a configurable delay
-
Use Etch as the GUI framework instead of deprecated space-pen or direct DOM manipulation
-
Switch to ES2017 target
-
Update dependencies
-
Add
typescript:initialize-config
command (#1248) (by Paul Ermolin)Command is
typescript:initialize-config
, and it usestsc init
under the hood. Note that this is also an activation command, meaning you can use it without opening a TypeScript file first. However, it determines the project path from currently-active text editor -- if there aren't any text editors open, command doesn't do anything.No keybinding is assigned by default, since this is not a command one would use often.
-
Documentation updates
-
Remove obsolete
filesGlob
snippet -
Don't use deprecated
.editor
class in grammar style -
Add locale setting to control TypeScript's message locale (#1371)
-
Switch to Atom's TypeScript grammar (potentially compatibility-breaking)
We're discontinuing our own grammar in favor of language-typescript, which is bundled with Atom. Please make sure that language-typescript package is activated, we have no way of activating it for you.
-
Cache constructed TypescriptBuffers by TextBuffers.
Hopefully this helps with issues like #1300 and #1332
-
Show tooltip command
Closes #957. Adds
typescript:show-tooltip
command to show type tooltip at current text cursor position. -
Configurable autocomplete-plus
suggestionPriority
Closes #1185. Exactly what it says on the tin, allows configuring priority of TypeScript's autocompletion suggestions.
-
Moved config schema to package.json
This should speed up Atom start-up times, since it doesn't need to load package source until needed.
-
Change target to ES7/2016
Atom supports full ES7 now, so no reason not to, really.
-
Support for atom-ide-ui
No installation prompt if atom-ide-ui or linter is detected, support for atom-ide-ui code fixes.
-
Do not show progress bar for emit
This never worked properly, and a progress bar would get stuck in the panel after emit, so this is treated as a bug and removed for now.
-
Updated installation instructions in README
- Hide Remove redundant autocomplete label text
- Update the grammar to fix several highlighting issues
- Add a framework for writing specs
- Handle multiple directories in NODE_PATH
- TypeScript 2.5: exclude tsconfig.json from project files on emit
- Speed up autocomplete and fix a disposable leak
Please note only breaking changes are logged beyond this point. You can use GitHub's branch/tag comparison tool to get a full changeset, for example, https://github.com/TypeStrong/atom-typescript/compare/v7.0.0...v8.0.0 shows all changes since v7.0.0 until v8.0.0
- Major rewrite using
tsserver
API for the best compatibility with the current versions of Typescript.
- Removed the (already ignored in any significant way)
version
option from tsconfig. More
- Bring back
dts-generator
as using the other mechanism has a few gotchas that might surprise new users. We will remove this feature once microsoft/TypeScript#2338 is officially supported.
- We no longer automatically create a
tsconfig.json
. However we provide a command "TypeScript: Create tsconfig.json project file".
- Feature: Added ReactJS /
.tsx
support
- Removed
dts-generator
support. Reason is that it pollutes the global namespace and is no longer the recommended way for sharing TypeScript code. See microsoft/TypeScript#2338 for the way forward.
- We will now resolve a parent
package.json
for you automatically so that its one less thing you need to configure. 🌹
- New default shortcuts for
build
:F6
angoto definition
:F12
. Because I don't want to mess with your atom defaults and a major use base is VS users. Link #145
format
→formatCodeOptions
TypeStrong#178compileOnSave
is now a tsconfig option : TypeStrong#187
- Initial releases