-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
544 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
{ | ||
/* | ||
/* | ||
* SublimErl tries to detect automatically the paths for rebar, erl, escript and dialyzer. | ||
* If it doesn't succeed or you prefer to manually configure these, you can do so by inputting the paths here. | ||
* | ||
* "rebar_path": "/usr/local/bin/rebar", | ||
* "escript_path": "/usr/local/bin/escript", | ||
* "dialyzer_path": "/usr/local/bin/dialyzer" | ||
*/ | ||
|
||
// Skip Erlang libs that match the regex | ||
"completion_skip_erlang_libs": [ | ||
"^[cC]os[A-Z].+" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ | ||
{ "keys": ["ctrl+shift+f8"], "command": "sublim_erl_test", "context": [{ "key": "selector", "operator": "equal", "operand": "source.erlang" }] }, | ||
{ "keys": ["ctrl+shift+f9"], "command": "sublim_erl_dialyzer", "context": [{ "key": "selector", "operator": "equal", "operand": "source.erlang" }] }, | ||
{ "keys": ["ctrl+f8"], "command": "sublim_erl_test_redo" }, | ||
{ "keys": ["ctrl+f8"], "command": "sublim_erl_redo" }, | ||
{ "keys": ["ctrl+alt+f8"], "command": "sublim_erl_ct_results" } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[ | ||
{ "keys": ["super+shift+f8"], "command": "sublim_erl_test", "context": [{ "key": "selector", "operator": "equal", "operand": "source.erlang" }] }, | ||
{ "keys": ["super+shift+f9"], "command": "sublim_erl_dialyzer", "context": [{ "key": "selector", "operator": "equal", "operand": "source.erlang" }] }, | ||
{ "keys": ["super+f8"], "command": "sublim_erl_test_redo" }, | ||
{ "keys": ["super+f8"], "command": "sublim_erl_redo" }, | ||
{ "keys": ["super+alt+f8"], "command": "sublim_erl_ct_results" } | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# ========================================================================================================== | ||
# SublimErl - A Sublime Text 2 Plugin for Erlang Integrated Testing & Code Completion | ||
# | ||
# | ||
# Copyright (C) 2012, Roberto Ostinelli <[email protected]>. | ||
# All rights reserved. | ||
# | ||
# BSD License | ||
# | ||
# | ||
# Redistribution and use in source and binary forms, with or without modification, are permitted provided | ||
# that the following conditions are met: | ||
# | ||
|
@@ -70,7 +70,7 @@ def generate_completions(self, starting_dir, dest_file_base): | |
# we are generating erlang disasm | ||
bif_completions = self.bif_completions() | ||
for k in bif_completions.keys(): | ||
disasms[k].extend(bif_completions[k]) | ||
disasms[k].extend(bif_completions[k]) | ||
# sort | ||
disasms[k] = sorted(disasms[k], key=lambda k: k[0]) | ||
|
||
|
Oops, something went wrong.