Railk / T3S

TypeScript plugin for Sublime Text using TSS
MIT License
224 stars 18 forks source link

Shortcuts not working and causing errors #76

Open ghost opened 9 years ago

ghost commented 9 years ago

When I hit F1, F3 or F4 I get the following

Traceback (most recent call last): File "./json/decoder.py", line 368, in raw_decode StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "..\Sublime Text 3\sublimeplugin.py", line 543, in run return self.run(edit, args) File "Typescript in ..\Sublime Text 3\Data\Installed Packages\T3S.sublime-package", line 505, in run File "Typescript in ..\Sublime Text 3\Data\Installed Packages\T3S.sublime-package", line 173, in type File "./json/init**.py", line 319, in loads File "./json/decoder.py", line 352, in decode File "./json/decoder.py", line 370, in raw_decode ValueError: No JSON object could be decoded

ghost commented 9 years ago

Strange, I'm using the latest dev commit. I don't get these errors. I'm using Sublime Text 3 build 3065. Which one are you using and what does you're T3S settings file look like?

ghost commented 9 years ago

I'm also using the latest build and the user settings file is as follow. Also it would be nice if there would be a keys settings because there is a key conflict with the default search next F3 key.

{
    "local_tss":true,
    "error_on_save_only":false,

    "build_parameters":{
        "pre_processing_commands":[],
        "post_processing_commands":[],
        "output_dir_path":"none",
        "concatenate_and_emit_output_file_path":"none",
        "source_files_root_path":"none",
        "map_files_root_path":"none",
        "module_kind":"none",
        "allow_bool_synonym":false,
        "allow_import_module_synonym":false,
        "generate_declaration":false,
        "no_implicit_any_warning":false,
        "skip_resolution_and_preprocessing":false,
        "remove_comments_from_output":false,
        "generate_source_map":false,
        "ecmascript_target":"ES3"
    }
}
Phaiax commented 9 years ago

see my last comment in https://github.com/Railk/T3S/pull/63 (tl;dr there is a new plugin named ArcticTypescript)

You can rebind all keybindings. refer to the Default.sublime-keymap file of any plugin and copy any keybindings to your User-keymap file (preferences menu)

ghost commented 9 years ago

Thank you, I will have a look at that then.