Skip to content

Commit

Permalink
fix #48, updated flow-bin to 0.70.0 and flow-typed to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Apr 20, 2018
1 parent 5bffda2 commit 4bde2ad
Show file tree
Hide file tree
Showing 8 changed files with 161 additions and 1,331 deletions.
153 changes: 153 additions & 0 deletions changelog/0.16.13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
v0.16.13

## Fixes

- Fixed "How to install flow typings?" #48

## Improvements

- Updated flow-bin to 0.70.0


v0.16.12

## Fixes

- Trying to fix #41
- Fixed "Plugin not honouring ST3 user settings - show_definitions" #42

## Improvements

- Updated flow-bin to 0.69.0
- Improved unused variable feature


v0.16.11

## Fixes

- Trying to fix #41

## Improvements

- Updated flow-bin to 0.68.0


v0.16.1

## Fixes

- Fixed NameError: global name 'subprocess' is not defined on /src/libs/terminal.py - Windows OS
- Fixed NoneType error on self.completions.append(completion) in /src/listeners/completion.py


v0.16.0

## Fixes

- Fixed jsdoc generate command
- Fixed error on refactor safe commands when the file name is empty
- Fixed export refactor feature preview
- Fixed some popup colors with different theme color scheme
- Fixed completions and hover_description that starts with "$"
- Fixed issue #36, keymap of next flow error feature changed from "super+alt+c" to "super+alt+b"

## Improvements

- Complete code plugin refactoring
- Improved completions performance using 'flow ide' command
- Added "code screenshot" feature using [carbon](https://carbon.now.sh/)
- updated flow-bin to 0.67.1
- Added initial support for Vue.js (see https://github.com/pichillilorenzo/JavaScriptEnhancements/wiki/Example-Vue.js-project)
- Improved extract method feature
- Improved completions detection from default_autocomplete.json
- Added Flow warnings
- Improved unused variable feature

## Misc
- Changed gutter color (using other available sublime scopes) for errors and unused variable features.

=================================================================
** THIS PLUGIN IS IN BETA! Thanks for your support in advance! **
=================================================================

If you like it, remember to star it ⭐ on GitHub: https://github.com/pichillilorenzo/JavaScriptEnhancements

** USAGE **
===========

See how it works on the Wiki: 👉👉 https://github.com/pichillilorenzo/JavaScriptEnhancements/wiki 👈👈


** WHAT IS THIS? **
===================

This plugin uses Flow (javascript static type checker from Facebook) under the hood.

It offers better javascript autocomplete and a lot of features about creating,
developing and managing javascript projects, such as:

- Cordova projects (run cordova emulate, build, compile, serve, etc. directly from Sublime Text!)
- Ionic v1 and v2 (it includes also v3) projects (same as Cordova projects!)
- Angular v1 and v2 (it includes also v4 and v5) projects
- Vue projects (only about the creation at this moment, see https://github.com/pichillilorenzo/JavaScriptEnhancements/wiki/Example-Vue.js-project)
- React projects (only about the creation at this moment)
- React Native projects (only about the creation at this moment. I will add also NativeScript support)
- Express projects (only about the creation at this moment)
- Yeoman generators
- Local bookmarks project
- JavaScript real-time errors
- Code Refactoring
- etc.

You could use it also in existing projects (see the Wiki - https://github.com/pichillilorenzo/JavaScriptEnhancements/wiki/Using-it-with-an-existing-project)!

It turns Sublime Text into a JavaScript IDE like!

This project is based on my other Sublime Text plugin JavaScript Completions (https://github.com/pichillilorenzo/JavaScript-Completions)

** NOTE **
If you want use this plugin, you may want uninstall/disable the JavaScript Completions plugin, if installed.

** OS SUPPORTED **
==================

👉 Linux (64-bit)
👉 Mac OS X
👉 Windows (64-bit): released without the use of TerminalView plugin. For each feature (like also creating a project) will be used the cmd.exe shell (so during the creation of a project don't close it until it finishes!). Unfortunately the TerminalView plugin supports only Linux-based OS 😞. Has someone any advice or idea about that? Is there something similar to the TerminalView plugin for Windows?? Thanks!

❗❗ Dependencies ❗❗
=======================

In order to work properly, this plugin has some dependencies:

👉 Sublime Text 3 (build 3124 or newer)
👉 Node.js and npm (https://nodejs.org or nvm (https://github.com/creationix/nvm))
👉 TerminalView (only for Linux and Mac OS X) sublime text plugin (https://github.com/Wramberg/TerminalView)

Not required, but useful for typescript files (Flow wont work on this type of files):

👉 TypeScript sublime text plugin (https://github.com/Microsoft/TypeScript-Sublime-Plugin)

** Flow Requirements **
=======================

It use [Flow](https://github.com/facebook/flow) for type checking and auto-completions.

👉 Mac OS X
👉 Linux (64-bit)
👉 Windows (64-bit)

Email me for any questions or doubts about this new project on: [email protected]

** Donation **
==============

If this project help you reduce time to develop and also you like it, please support it with a donation 😄👍. Thanks!

Open Collective: https://opencollective.com/javascriptenhancements/donate
PayPal: https://www.paypal.me/LorenzoPichilli

Thanks anyway for your support! 😄😄

MIT License
3 changes: 2 additions & 1 deletion messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"0.16.0": "changelog/0.16.0.txt",
"0.16.1": "changelog/0.16.1.txt",
"0.16.11": "changelog/0.16.11.txt",
"0.16.12": "changelog/0.16.12.txt"
"0.16.12": "changelog/0.16.12.txt",
"0.16.13": "changelog/0.16.13.txt"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"dependencies": {
"flow-bin": "0.69.0",
"flow-bin": "0.70.0",
"flow-remove-types": "1.2.3",
"flow-typed": "2.2.3",
"flow-typed": "2.4.0",
"jsdoc": "3.5.5"
}
}
2 changes: 1 addition & 1 deletion src/commands/can_i_use/can_i_use_data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/libs/global_vars.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

PLUGIN_VERSION = "0.16.12"
PLUGIN_VERSION = "0.16.13"
DEVELOPER_MODE = False

PACKAGE_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
Expand Down
2 changes: 1 addition & 1 deletion src/listeners/flow/Main_disabled.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"caption": "Flow",
"mnemonic": "F",
"id": "flow",
"id": "javascript_enhancements_flow",
"children": [
{
"caption": "Build Flow",
Expand Down
2 changes: 1 addition & 1 deletion src/listeners/project/npm/Main_disabled.sublime-menu
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"children": [{"children": [], "id": "npm_scripts", "caption": "Npm/Yarn Scripts"}], "id": "tools", "caption": "Tools"}]
[{"caption": "Tools", "children": [{"caption": "Npm/Yarn Scripts", "children": [], "id": "npm_scripts"}], "id": "tools"}]
Loading

0 comments on commit 4bde2ad

Please sign in to comment.