Thank you for your suggestions!
Zitat von Gast im Beitrag #1
1.- currently the comment of an array is set for the whole array, being difficult to documentate the values/use of each single element through the comments (for example as per the image, an array of our robot Bases)
would it be possible to add the option to set a comment for each array element? this would help the debugging of problems and would facilitate the documentation of a project
We had this behavior in the first versions, but it was much too much for a .NET program like K-IDE. The load and save procedure was much too slow. It's very easy to create an array in K-IDE that has 10,000 or more items. Each and any of these items has to be checked when it comes to merging variables to their comments. For that reason K-IDE skips arrays and use the first comment of an array for all array elements.
As a workaround, you can use “symbolic indices” for your specific array elements (for example “RobotBases[NormalBase]”, “RobotBases[SpecialBase]”, ...), where “NormalBase” and “SpecialBase” are REAL variables that are used as constants. You can comment out these variables individually and thus give the “RobotBases[NormalBase]” a more specific meaning. That's the way it is handled in other programming languages too.
Zitat von Gast im Beitrag #1
2.- A second folder hierarchy would be great to agroup the programs in a more visible way
Can you explain more in detail? The current state of the "program menu structure" (if it could be called like that) is good enough IMHO. Nested groups are not possible, but you can use multiple groups.
Zitat von Gast im Beitrag #1
3.- when programming function or programs with inputs and outputs parameters, it would be really usefull to set predefined values, on the programming of the function, that could be set through a drop down menu for example, this will simplify the integration of a programming standard, otherwise it also would be great to have the possibility to add the ability to declare a parameter as optional or as obligatory
Just an idea: You can use your own templates as a project starter and define template programs in there that you can copy (duplicate/copy&paste) and create a "true" program out of it.
Zitat von Gast im Beitrag #1
4.- Is it possible to increment the value of the parameter that are logged on the programm, error and operation protocols? for example: a FOR steps, or the comments in a programm code overflow the log, so it´s difficult to track a programm, if a function is being used
I agree with you, but logging is done on controller side. The K-IDE only reads out the existing logging entries from the AS data.