Skip to content

Releases: dependents/Dependents

Sass Dependents and Bug fixes

22 Nov 18:48
Compare
Choose a tag to compare

New Feature: Find Sass Dependents

Now you can find all the SASS stylesheets that depend on another stylesheet (typically a partial).

You'll need to set the "sass_root" property in your settings:

Sublime Text -> Preferences -> Package Settings -> Dependents -> Settings - User

"sass_root": "path/to/my/sass"

Simply open a partial and use the existing keyboard shortcuts to find the dependents.

Bug Fix

  • Fixed an issue where the config property was throwing an error if missing.

Ping me for any issues: @mrjoelkemp

CommonJS and ES6 support

17 Nov 16:28
Compare
Choose a tag to compare

New feature: Support for CommonJS and ES6 codebases

Finding all Dependents should work for CommonJS and ES6 codebases.

If you run into any problems, please file an issue at mrjoelkemp/sublime-dependents
or ping me on twitter @mrjoelkemp.

You can send me console logs via 'View -> Show Console'

Bug fix

01 Nov 19:58
Compare
Choose a tag to compare

Bug Fix

  • Fixed a bug where a driver script within an IIFE wasn't being parsed
    and included in the set of dependents.

Report problems to @mrjoelkemp

Bug Fixes

28 Oct 17:45
Compare
Choose a tag to compare

Bug Fixes

  • Now swallowing all file parse errors from Esprima to avoid tainting the results of finding dependents.
  • Added "Open all Dependents" option to File menu and Sublime Text Command palette (cmd + shift + p)

Report problems to @mrjoelkemp

Better error visibility

20 Oct 22:59
Compare
Choose a tag to compare

Better error reporting

Now showing a dialog with the error message to indicate that something is wrong.

If you do encounter errors from recently upgrading, please try:

  1. Package Control -> Remove Package -> Dependents
  2. Restart Sublime Text
  3. Package Control -> Install Package -> Dependents
  4. Restart Sublime Text

That should fix the problem. Please report errors to @mrjoelkemp or file an issue on this repo

Minor fix

20 Oct 21:16
Compare
Choose a tag to compare

Observed a failure on this line of Dependents.py:

trimmed.append(f[f.index(self.window.root) + len(self.window.root) + 1:])

Couldn't reproduce, but patching to avoid the crash

Initial Readme Update

20 Oct 21:04
Compare
Choose a tag to compare

Updated the instructions for new users (omitting the need to install node-dependents).

Critical fix

20 Oct 19:21
Compare
Choose a tag to compare

Now using .no-sublime-package file to resolve bundled node tool file paths.

Relative path bugfix

17 Oct 22:22
Compare
Choose a tag to compare
Merge pull request #39 from mrjoelkemp/fix_relative

Fix relative paths

Bug fix

13 Oct 19:34
Compare
Choose a tag to compare

Removes unnecessary check for a local install of dependents since it's bundled in.