Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto import #193

Merged
merged 4 commits into from Mar 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Support/Default.sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@
"command": "haxe_create_type",
"args" : {"t" : "enum"}
},
{
"keys": ["ctrl+shift+h","ctrl+shift+o"],
"command": "haxe_organize_imports",
"args" : {"add" : true, "sort" : true, "remove" : true, "auto_remove" : false}
},
{
"keys": ["ctrl+shift+f1"],
"command" : "haxe_show_documentation",
Expand Down
2 changes: 1 addition & 1 deletion Support/Haxe.sublime-commands
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{ "caption": "Haxe: Restart Server", "command": "haxe_restart_server" },
{ "caption": "Haxe: Run build", "command": "haxe_run_build" },
{ "caption": "Haxe: Choose Build Target", "command": "haxe_select_build" },
{ "caption": "Haxe: Organize Imports", "command": "haxe_organize_imports" },
{ "caption": "Haxe: Organize Imports", "command": "haxe_organize_imports", "args" : { "add" : true, "sort" : true, "remove" : true, "auto_remove" : false} },
{ "caption": "Haxelib: List Installed", "command": "haxelib_list_installed", "args" : { "t" : "list"} },
{ "caption": "Haxelib: Install library", "command": "haxelib_install_lib" },
{ "caption": "Haxelib: Remove library", "command": "haxelib_list_installed", "args" : { "t" : "remove"} },
Expand Down
4 changes: 3 additions & 1 deletion features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .haxe_find_definition import HaxeFindDefinition
from .haxe_show_type import HaxeShowType
from .haxe_add_hxml import HaxeAddHxml
from .haxe_organize_imports import HaxeOrganizeImports
from .haxe_organize_imports import HaxeOrganizeImports, HaxeOrganizeImportsEventListener, HaxeOrganizeImportsEdit

print("Haxe : Reloading haxe module")

Expand All @@ -19,4 +19,6 @@
'HaxeAddHxml',
'HaxeShowType',
'HaxeOrganizeImports',
'HaxeOrganizeImportsEventListener',
'HaxeOrganizeImportsEdit',
]
Loading