Created Thu, 08 Mar 2012 02:09:21 +0000 by marcus.walther
Thu, 08 Mar 2012 02:09:21 +0000
The following is a list of issues in the current IDE which are not show stoppers, but are generally annoying when using the IDE for ongoing work. Being new to this group I was not sure if this is the correct forum, or if they should have been directly entered as issues into github. A brief look there seemed to imply it was only developers on the IDE which entered issues directly. Please advise on how these should be handled in the future. All of these were observed on a Windows 7 environment, running the pre-packaged release 20111221 (i.e. the primary download, not built from source).
Issue 1: The vertical scroll bar does not take the font size into account. When changing the font size in File>Preferences>Editor Font Size to a larger value, the vertical scroll bar does not seem to be adjusted, which results in some of the code entered not being able to be scrolled to. How To Recreate:
Issue 2: Shortcut key for serial monitor adds line breaks in the editor. When using the shortcut key combination of Ctrl-Shift-M to start the serial monitor, the IDE will insert a line break at the current cursor position in the editor. Quite often this will split a line in such a way that the sketch no longer compiles, which makes this quite annoying if not noticed. This will only happen if the serial port monitor is actually opened without an error. How To Recreate:
Issue 3: COM port settings are shared between instances. When debugging two separate boards (for example for testing inter-board communication), each in their own instance of the IDE application, and each on their own USB port (and hence with different COM ports) setting the COM port in either instance will change the port assignment for both instances. This is rather annoying, because if you forget to set the COM port in either instance before downloading the sketch, the sketch will be downloaded to the wrong board. How To Recreate:
Issue 4: Save is ambiguous when multiple files are open in the IDE. When multiple files are open in a single IDE instance, the save function seems to become a â€œSave Allâ€ function, clearing the â€œfile dirtyâ€ indicator on all files (and it actually does save all changes to the file). When moving between the multiple files by clicking on the tabs across the top of the window, the â€œfile dirtyâ€ indicator (the â€œsectionâ€ symbol beside the file name) reappears for any files which have been modified during any of that editing session â€“ regardless of the fact that those changes have already been saved to disk. This brings into question of what files were really saved in the eyes of the user. I needed to do individual tests to ensure that it was really functioning as a save all function. How To Recreate:
Issue 5: All ANSI C reserved words are not taken into account by syntax highlighting. Storage qualifiers such as â€œconstâ€ which are reserved words in C are not properly highlighted. It would be useful to highlight at least all the C reserved words.
Issue 6: Syntax highlighting does not work across line extensions. When extending a line across multiple lines by using a â€œ\â€ at the end of the line, syntax highlighting is broken. How To Recreate:
Enhancement Suggestions: While these are not specifically issues in that they are not functioning incorrectly, they would be very helpful to the user:
Enhancement 1: Make the font size for the footer change with the selected editor font size. The line number and COM port information are very small at high resolutions. It would be very helpful if they also increased when using a larger editor font. This is useful information which is very difficult to see.
Enhancement 2: Make the line number display include the â€œgenerated linesâ€ in the sketch files. The line numbers in the editor are most useful when trying to locate error lines which are returned from the compiler. Before being sent to the compiler, the sketches (.pde files) are pre-processed to add an include file, and a declaration of each function used in the sketch. When displaying the line number in the pde files, it would be very helpful to display the line numbers as if this information had already been inserted. In this way, the line number of errors reported by the compiler in error messages would be aligned with those shown in the IDE. I believe that this is also the basis for issue #36 already in github.
Enhancement 3: Bring back the Serial Monitor after compile and upload. When uploading a sketch, the IDE closes the serial port monitor because the upload needs the serial port. It would be very helpful if in the cases where the IDE closes the serial port monitor, that it re-open it when the upload is complete. This would save the manual step of re-opening the serial port, as well as avoiding the extra device reset which seems to happen as soon as the monitor is opened.
Fri, 09 Mar 2012 00:12:48 +0000
Thank you for spending the time to creat this list.
I need to get these added to the list in Github: https://github.com/chipKIT32/chipKIT32-MAX/issues