-
Notifications
You must be signed in to change notification settings - Fork 10
Converter functions do not work #1
Comments
This issue is fixed in the v0.0.6 release I just made. I had the node_modules folder being excluded from the extension package, so an error was being thrown before the commands were registered. Thank you for reporting this issue. Can you please confirm if it is resolved? |
Thanks for your quick reply and for implementing this missing feature in VS Code, I have no access to TextMate and refuse to edit XML files by hand. Using the following file as input: When I use "convert to tmLanguage File" It now opens a new empty file. So it improved a little. (currently under VS Code on ubuntu). |
Could you try copying the file to another folder and performing the conversion? There could be an existing file that is preventing the converter creating and populating a new file correctly. I'll improve the file name handling for conflicts and do some testing in ubuntu. |
New release, I think I've resolved your issue now. |
Thanks, I'm currently on vacation so I can not check it right now, but will
|
Hi, I have the version 0.0.7 installed and still throwing the error. |
@heartsekai What OS and VSCode version are you using? I tested a clean install of VSCode 1.2 on Windows 10 with the file: https://github.com/SublimeText/PackageDev/blob/master/Syntax%20Definitions/Sublime%20Text%20Syntax%20Def%20%28JSON%29.JSON-tmLanguage and was able to convert it. Can you open Help->Toggle Developer Tools, then select the Console tab and post the error stack trace it displays? |
Hi, I'm also experiencing this issue. It worked the first time, then I deleted the file and tried again. Since then I've been getting the error.
btw, I'm using VSCode 1.2.0 and Mac OS 10.11.5 |
Exactly the same error. |
Did you install the plugin by downloading the source code and copying it into vscode extensions folder? |
Yes I downloaded the source and copied it in. I couldn't find it in the built-in "Install extension" in VSCode. |
Ok so I found it now, now when I'm trying to convert YAML to tmLanguage, it just gives me a blank file, with the following console output
|
The YAML parser may be unable to process the file, if this is the case, then you will see an error in the console under Developer Tools. I'll have to improve feedback to he user in the next release. |
Alright, I'll keep an eye out! It's great you're doing this. I'm currently using Sublime alongside VSCode to develop a custom language, and enjoy the process with PackageDev, so having that directly in VSCode would be super :) Thanks |
Are any users still getting the "No handler found for the command" error? I have created separate issue for the for the silent conversion failures (Issue #3) |
I'm not receiving any errors. Tried converting a YAML to tmLanguage, appears to work. |
I only received this error when trying to convert from a The option to convert shows up in the Thought it was this exact issue until I realized that VSCode (well partly the Windows common dialog) behaves like Notepad and saves with |
Using version 1.0 of VS Code none of the converter functions work;
No handler found for the command: 'extension.convertToTml'. An extension might be missing an activation event.
No handler found for the command: 'extension.convertToJsonTml'. An extension might be missing an activation event.
No handler found for the command: 'extension.convertToYamlTml'. An extension might be missing an activation event.
The text was updated successfully, but these errors were encountered: