-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support for ABB robot programming language RAPID #97
Comments
Thanks for opening the ticket, I would be glad to add support for it, could you just provide me with a reference documentation or snippets that I can use for testing out the implementation? |
To save some time I have recorded a short clip. I´m explaining some stuff regarding RAPID structure and also show what I have managed to do with another extension(Code Map). The zip contains some sample files you can use to do tests. When you have questions, just shoot :-D To config Code Map I added this to the settings: "codemap.sys": [ "codemap.cfg": [ |
Thank you very much for the detailed info. I am confident that I will have more time around the end of the week so I can work on the extension as recently work has piled up. |
Guess you are busy 😄 |
I am absolutely sorry for the delay, I am extremely busy in the past couple of months ... I haven't forgotten about the request and will try to make it asap 😔 |
No problem, take your time, I have a temporary solution, no hurry |
Hey sorry for the delay, but I think it might be worth it 🙂 I have managed to workout an MVP support which I will probably try to release by the end of the week. Here is a small video with how it looks like atm, please feel free to share any feedback you might have I will happily consider/discuss any suggestions |
I'm not in a hurry, stay cool :-D |
I did a few small tweaks & fixes, could you install this preview version of the extension and check it out if it makes sense. If you have time that is |
Looking forward to try it out but ended up in a strange problem.... (After update/install of new version restart was done) |
Note that there is an Look for "treeview.location" in settings editor - |
Because I am an idiot 😆 you will need to add |
🤔 Could you try this RC to see if it works now, cuz I have the slight suspicion I might've build against the wrong branch. and I have removed the need for |
it is pretty strange I can't reproduce the case. I am using the code sample you have provided, but it seems to be working correctly on my side with both RCs.
This is because there is a check if the file is dirty, in order to prevent attempting to parse a file which is in invalid state while you type. The tree should update once you save the changes.
I've had this previously occur, but I can't recall for which language. Although then in the new view it was saying something like "No provider registered" or smth. I've managed to reproduce the case, when I changed the file language from rapid to something else, then the view was not updated, but when I clicked on the |
I will try to see if I can get the issue to reproduce on my end so I could fix it |
I have tried opening the sample files and also "real" rapid files. No luck. Also switch between them, restarted vscode. Let me know when you have come up with something to try. |
Any news? Something I should test for you? |
Sorry, I didn't have enough time, I will try to investigate today to see if I could come up with something |
Hey I was looking for a way to get in touch, can you proved any feedback if the abb support is working prooerly? |
Hey, sorry for not answering! Have a look HERE Had a look in the rapid.js which is more or less mumbo jumbo for me but I noticed "return langId === "rapid";" is written "rapid" with lower case. Noticed there are two extensions for Rapid. One of them shows "rapid" in down right corner and the other "RAPID". None of them work.... |
Hey, no worries, thanks for your feedback, I am reopening the issue and will give it another shot, maybe I missed something along the way, I will keep you updated as much as I can with any progress I manage to make on this one 👍. 🍺 because you have a ton of patience :) |
Sounds great! No problem for me to wait 😄 |
Have have been programming/editing robot programs for many years. Used ABB RobotStudio for online editing, for offline i have used UltraEdit and Notepad++. Now I started using Visual Studio Code for programming Arduino and other small controllers. Found some plugins for RAPID and tried it out.
Works great, or at least almost.....
It is possible to drag a backup(folder) into VSCode and then use the Explorer to navigate down to the .mod-file. File opens and highlighting etc is working fine.
In UltaEdit it is possible to view a "function list", this list show all procedures and it is possible to go direcly to that part/Procedure:
Would it be possible to achieve this with "File Tree View"?
The functions that are use are: PROC, LOCAL PROC, TRAP, FUNC and RECORD
The text was updated successfully, but these errors were encountered: