I noticed the very minimal UI of labs and thought that I should make a subject for some UI improvements.
.Option to increase or decrease text size
.Whenever I try to put spaces or tabs before typing in text, it deletes all the space and I have to put tabs after I type in a line of code.
Thats all my grasshopper memory can remember currently, feel free to add anymore.
I started to add a text size option but it seemed kind of redundant with the UI scale option. Would you like text of the editor only or some kind of scaling subset?
The spacing thing is a known annoyance to me. It happens because if there’s a blank line and you start typing, it tries to auto indent it but sometimes you’ve manually added an indent which is annoying. I need to add an exclusion for this case. Feel free to create a GitHub issue for it.
1 Like
I meant some sort of scaling in general but it seems better to have freedom over the different “windows” of labs, to scale them however you want independently. Another half formed idea for the UI is that when I am writing verilog, I tend to put code intended for a purpose all bunched up in one module for some reason, and I find that I kind of familiarize myself with the bunched up code, “The part that handles the I2C clocking is after the register declarations and the data transfer part is in this if statement after this long ternary operator”, so I think it would be a nice feature to have sort of color coded blocks to reference what part of code is what exactly, kind of like a comment, to have a more graphical aproach to the UI. Along with that I might recommend something you have with the Vivado log console or whatever you call the thingy at the bottom of the screen which shows the Vivado processes and errors or warnings when building a project, the thing on the right of the console is a little panel showing the zoomed out text, like something VScode does which I find useful.
So I decided to draw an example of what I meant by “color coded blocks”. I know I cant fully express what I am thinking so now you have to suffer looking at my drawing. The green and yellow blocks are the same y height as the code y height and have a description written by the coder as to what that part of code does specifically, not included in this drawing.
brought to you by some random guy who can only draw stickmen at best.
also as a last note, whenever I modify comments or switch around lines of code without modifying the function of say an if statement where I swapped the positions of 2 assignments, I shouldnt have to rebuild the project