Releases: dependents/Dependents
Sass Dependents and Bug fixes
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
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
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
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
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:
- Package Control -> Remove Package -> Dependents
- Restart Sublime Text
- Package Control -> Install Package -> Dependents
- Restart Sublime Text
That should fix the problem. Please report errors to @mrjoelkemp or file an issue on this repo
Minor fix
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
Updated the instructions for new users (omitting the need to install node-dependents).
Critical fix
Now using .no-sublime-package
file to resolve bundled node tool file paths.
Relative path bugfix
Merge pull request #39 from mrjoelkemp/fix_relative Fix relative paths
Bug fix
Removes unnecessary check for a local install of dependents since it's bundled in.