#2 by
cquante
, Wed Nov 29, 2023 9:55 am
Dear Kapi,
thank you for your suggestions!
- Beside the fact that it will be a lot of work to organize and manage such groups, I don't see a big benefit for that. A naming convention is commonly used to organize variable groups. In the K-IDE it is also possible to filter variables by name, values or comments. Even if the name is limited to 15 characters, you can use the comment to group variables with the help of a filter. You can write down the name of the variable group in the variable's comment, to filter and view only the variables in that group. This will be more flexible than having fixed groups where the variables belong to. With the filter function you can even do more nice things like showing the variables of more than one group: "(Group1|Group2)" (regular expression).
|
- Auto-completion in the editor of K-IDE is a dump function not looking at the still written code. Your suggestion points to something like "IntelliSense" where the editor tries to find out what the programmer wants to do and list the corresponding suggestions. Then the editor will realize after the programmer writes "LMOVE", there has to follow a position to move to. So the list for auto-completion will only consist of position variables. But is that correct? What if you want to shift a position ("LMOVE SHIFT (...)")? Or you want to do movements to a calculated position using the TRANS command? For that scenarios you also need keywords and other variable names to be in the list.
Actually K-IDE gives you a list of all relevant names sorted alphabetically and grouped by keywords, templates and variable names. That is done whenever you start a new word (name, command, ...). If you know what position variable you like to use you have only to enter the starting characters to see a short list of existing variables. In most cases that should be enough to support all programming solutions.
Christian Quante
Technical Sales
Sales Department
Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany