Skip to content

Releases: Galooshi/import-js

0.2.1

05 Jan 12:26
Compare
Choose a tag to compare

Changes:

  • Fixed "ImportJS: fix all imports" in Sublime (error was something like try_process': unknown option--fix' (Slop::UnknownOption)`)
  • Improved documentation for Sublime

Breaking change: The default Sublime setting for executable has changed to just import-js, from previously being ~/.rbenv/shims/import-js. If you were relying on the rbenv path, you need to override the executable setting with a full path to the import-js executable. Create or edit <path-to-sublime>/Packages/User/ImportJS.sublime-settings with something that looks like this:

{
  "executable": "/Users/henrictrotzig/.rbenv/shims/import-js"
}

Please note that you can't use ~ to refer to the home directory, you need to specify the full path.

0.2.0

04 Jan 11:20
Compare
Choose a tag to compare

Changes:

  • Removed support for import_all. We instead rely on fix_imports.

0.1.5

01 Jan 19:28
Compare
Choose a tag to compare

Adds "fix imports" command to Sublime.

0.1.4

01 Jan 19:27
Compare
Choose a tag to compare

Fixes a bug with importing all / fix imports when using jsx.

I accidentally pushed 0.1.3 prematurely to rubygems, so that's why this is 0.1.4 instead of 0.1.3.

0.1.2

01 Jan 15:44
Compare
Choose a tag to compare

This version contains some checks to make sure that the import-js gem is installed and available. It also adds some messaging to when the plugin is installed via Package Control.

0.1.1

30 Dec 22:31
Compare
Choose a tag to compare

Changes:

  • moved sublime files to the root of the project, to prepare for submitting to Package Control (which has been done).
  • added goto option for Sublime
  • added {filename} in aliases support for Emacs and Sublime

v0.1.0

30 Dec 09:57
Compare
Choose a tag to compare

This version improves the support for Sublime. The command line interface (import-js) has been enhanced to support more use cases:

  • Asking for selection when a variable can be mapped to multiple potential modules
  • Displaying status messages

With these changes, the Sublime plugin can now do the following:

  • Import the word under the cursor
  • Import all (this already existed before)
  • Prompt the user for a selection
  • Display status messages

v0.0.3

23 Dec 19:50
Compare
Choose a tag to compare

First gem release with proper support for Emacs.

Thanks to @lencioni, @kevinkehl and @syohex for your contributions.