- Fixed
codeQuicken.javascript.fileExtension
setting so it does not put TS and TSX file extensions regardless of the setting.
- Amended
codeQuicken.javascript.predefinedVariableNames
andcodeQuicken.typescript.predefinedVariableNames
settings so it accepts a workspace file path as a regular expression. - Amended
codeQuicken.javascript.fileExtension
andcodeQuicken.typescript.fileExtension
settings so it has the default value oftrue
.
- Fixed wrong editing range for
codeQuicken.fixImport
command. - Fixed could not find TypeScript files on a JavaScript file when running
codeQuicken.fixImport
command.
- Amended the import/require list so it shows the recently used items followed by the files in current working directory and sub-directories.
- Amended the import/require list so it sorts similar file names first.
- Amended
codeQuicken.javascript.filteredFileList
setting so it filters against all matching rule, and supports${TM_FILENAME_BASE}
interpolation. - Amended
codeQuicken.history
setting so it has the default of 3. - Fixed not auto applying when changing
codeQuicken.history
setting. - Fixed could not recognized
export { default as named } from '...'
in an index file.
- Fixed missing
export { named }
wherenamed
is not imported from another file.
- Added
codeQuicken.convertImport
command for JavaScript and TypeScript.
- Added ability to place a named import in alphabetically order.
- Added ability to place a named import with a new line according to its surrounding.
- Fixed error populating the import/require list because of the recently used items.
- Added support of @types definitions for JavaScript and TypeScript.
- Added support of Yarn Workspaces.
- Amended the import/require list so it shows the recently used items when no search words.
- Amended
codeQuicken.history
setting so it has the default of 20. - Fixed clearing node module cache automatically.
- Fixed missing re-exported named identifiers such
export { named } from "path"
for JavaScript and TypeScript.
- Fixed wrong insertion position for
require(...)
. - Fixed unexpectedly showing selections for default import only.
- Fixed alphabetical order of imports for JavaScript and TypeScript.
- Amended never asking to choose between import namespace and default for JavaScript and TypeScript.
- Fixed alphabetical order of imports for JavaScript and TypeScript.
- Added duplicate identifier resolution dialog for JavaScript and TypeScript.
- Amended alphabetical order of imports for JavaScript and TypeScript.
- Added support of
export enum named = ...
. - Amended
codeQuicken.typescript.predefinedVariableNames
setting so it also borrows the values specified incodeQuicken.javascript.predefinedVariableNames
setting.
- Amended importing internal files instead of index files for JavaScript and TypeScript.
- Fixed missing require index path for JavaScript and TypeScript.
- Added original export path and code preview to the import/require list for JavaScript and TypeScript.
- Added variable assignments for JSON files.
- Fixed wrong import/require path for non JS & CSS files.
- Added support of Node.js built-in APIs.
- Added support of reading
compilerOptions.esModuleInterop
andcompilerOptions.allowJs
from the localtsconfig.json
. - Added progress while populating files.
- Fixed zero-file issue for Stylus.
- Amended better support of JavaScript and TypeScript.
- Amended the settings of JavaScript and TypeScript.
- Removed
@types
modules from the import/require list for JavaScript and TypeScript. - Removed
codeQuicken.typescript.syntax
setting as it will be"import"
by default.
Settings | Possible values | Default value |
---|---|---|
codeQuicken.javascript.syntax |
From "import" /"require" to "import" /"require" /"auto" |
From "require" to "auto" |
codeQuicken.javascript.fileExtension and codeQuicken.typescript.fileExtension |
No changes | From true to false |
codeQuicken.javascript.indexFile |
No changes | From true to false |
codeQuicken.javascript.quoteCharacter and codeQuicken.typescript.quoteCharacter |
From true /false to "single" /"double" /"auto" |
From true to "auto" |
codeQuicken.javascript.semiColons and codeQuicken.typescript.semiColons |
From true /false to "always" /"never" /"auto" |
From true to "auto" |
- Amended picking the closest
package.json
from the current active document. - Fixed TypeScript compilation errors.
- Added TypeScript settings.
- Fixed index file path when fixing an import statement.
- Fixed Windows path separator.
- Fixed missing file path when fixing an import/require statement.
- Fixed wrong index file path.
- Added ability to run
eslint.executeAutofix
command. - Added ability to replace the existing variable.
- Added support of Visual Studio Code 1.18.0.
- Added
"PascalCase"
option to the settingcodeQuicken.javascript.variableNamingConvention
.
- Fixed the issue of writing
import * as * from "...";
in JavaScript. - Fixed the settings of
codeQuicken.javascript.fileExtension
,codeQuicken.javascript.indexFile
,codeQuicken.javascript.semiColons
,codeQuicken.stylus.fileExtension
,codeQuicken.stylus.indexFile
, andcodeQuicken.stylus.semiColons
. - Amended ability to detect duplicate imports in JavaScript.
- Amended ability to replace named imports with namespace import in JavaScript.
- Amended the whole extension to only support inserting and fixing
import
/require
statements in JavaScript, TypeScript, and Stylus languages.
- Fixed the unexpected reading Node-module require statements.
- Added ability to fix broken require statements.
- Added ability to manually fix the import/require statements when more than one path is matched.
- Added support of JavaScript, TypeScript and their React expansions.
- Added ability to read code template from a JavaScript file.
- Fixed the unexpected same behavior when running insert file/node/text commands.
- Fixed unable to filter in directory path.
- Public release.