Editing User:Shainasabarwal/Openscad UI Brushup
From BRL-CAD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 17: | Line 17: | ||
*Working in C, C++, Wt(www.webtoolkit.eu) for last 2 years. I, in a team of 4 students developed a blogging engine in Wt. It is released under open source GPL license and the code is at https://github.com/GreatDevelopers/LBE | *Working in C, C++, Wt(www.webtoolkit.eu) for last 2 years. I, in a team of 4 students developed a blogging engine in Wt. It is released under open source GPL license and the code is at https://github.com/GreatDevelopers/LBE | ||
*Deeply interested in front-end development. Recently developing a wordpress theme for our blog cpp-tricks.com where C++11 will be promoted and different tutorials will be provided for Fundamentals of C++, Wt, Qt, boost. Screen Shots of the theme are: http://bit.ly/PDdNfq | *Deeply interested in front-end development. Recently developing a wordpress theme for our blog cpp-tricks.com where C++11 will be promoted and different tutorials will be provided for Fundamentals of C++, Wt, Qt, boost. Screen Shots of the theme are: http://bit.ly/PDdNfq | ||
− | *I am an active member of Linux User Group, Ludhiana where the students are made | + | *I am an active member of Linux User Group, Ludhiana where the students are made awared about the open source technologies and motivated to contribute in them. |
*I am quite familiar with git. Commit my work on git using github account(github.com/shaina7837). | *I am quite familiar with git. Commit my work on git using github account(github.com/shaina7837). | ||
Line 76: | Line 76: | ||
[[File:Colored model.png]] | [[File:Colored model.png]] | ||
− | ''' | + | '''Adding smart Indentation in code editor:- ''' |
+ | Identation is very important to the code readability. Almost any basic | ||
+ | code editor would ident automatically when it encounters '{'. | ||
+ | Currently In editor.cc, we have functions indentselection( ) and | ||
+ | unindentselection( ) which are used to provide indentation on | ||
+ | selecting the option from edit menu. Every time going to Edit menu and | ||
+ | clicking on indent option is vey tedious task. The indentation should | ||
+ | be smart, like an enter after { should put an indent of '\t' | ||
− | + | This can be done via two approaches:- | |
+ | * Built our own simple indentation mechanism or | ||
+ | * Use a complete formatting library like http://astyle.sourceforge.net/ | ||
− | + | '''Code line numbers:- ''' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | '''Code line numbers''' | ||
An option will be provided in the menu to add line number before each | An option will be provided in the menu to add line number before each | ||
line of the code. | line of the code. | ||
− | '''Error Highlighting''' | + | '''Error Highlighting:- ''' |
The line having error will be highlighted along with the line numbers. | The line having error will be highlighted along with the line numbers. | ||
Line 122: | Line 102: | ||
'''Week 1(19th May)''' | '''Week 1(19th May)''' | ||
− | *Get started and remove the bug given in issue [https://github.com/openscad/openscad/issues/408 #408] | + | *Get started and remove the bug given in issue |
+ | [https://github.com/openscad/openscad/issues/408 #408] | ||
* Get comfortable with the code | * Get comfortable with the code | ||
'''Week 2(26th May)''' | '''Week 2(26th May)''' | ||
− | * Take community feedback on the editors that can be integrated. (Given above in editors section) | + | * Take community feedback on the editors that can be integrated. |
+ | (Given above in editors section) | ||
* Decide one editor and start working on integrating it with openscad. | * Decide one editor and start working on integrating it with openscad. | ||
− | + | "Week 3(2nd June) | |
*Improve on and integrate a good code editor. | *Improve on and integrate a good code editor. | ||
'''Week 4(9 June)''' | '''Week 4(9 June)''' | ||
* Read about color contrast, and theory about designing themes for code editors. | * Read about color contrast, and theory about designing themes for code editors. | ||
− | * Add themes to the code editor, at-least three of the proposed themes. 'ZenBurn', 'Monokai' and 'Solarized' | + | * Add themes to the code editor, at-least three of the proposed |
− | * Give option to users to edit colors and addressing the issue [https://github.com/openscad/openscad/issues/643 #643] | + | themes. 'ZenBurn', 'Monokai' and 'Solarized' |
+ | * Give option to users to edit colors and addressing the issue | ||
+ | [https://github.com/openscad/openscad/issues/643 #643] | ||
'''Week 5(16 June)''' | '''Week 5(16 June)''' | ||
* Add Better Highlighting and warnings. | * Add Better Highlighting and warnings. | ||
− | * Work towards a better console, line numbers are not shown correct even counts them from include files. | + | * Work towards a better console, line numbers are not shown correct |
+ | even counts them from include files. | ||
Line 155: | Line 140: | ||
'''Week 8(7 July)''' | '''Week 8(7 July)''' | ||
− | *Add more navigational elements in both editor and viewer. (Expand, | + | *Add more navigational elements in both editor and viewer. (Expand, |
+ | Detatch etc.) | ||
*Ability to change themes from the toolbar. | *Ability to change themes from the toolbar. | ||
Line 164: | Line 150: | ||
'''Week 10(21 July)''' | '''Week 10(21 July)''' | ||
− | * Create an export dashboard, where a single dialog box can be used to export to various formats as adressed in issue | + | * Create an export dashboard, where a single dialog box can be used to |
+ | export to various formats as adressed in issue | ||
+ | [https://github.com/openscad/openscad/issues/649 #649] | ||
− | + | "Week 11 (28 July) | |
− | * Create a first launch screen, where various examples made in openscad will be showcased. | + | * Create a first launch screen, where various examples made in |
+ | openscad will be showcased. | ||
'''Week 12(4 August)''' | '''Week 12(4 August)''' | ||
Line 246: | Line 235: | ||
designing, so I can understand well what a user can expect while | designing, so I can understand well what a user can expect while | ||
working with these softwares. | working with these softwares. | ||
+ | <will write here about patch after submission> | ||
==Future scope== | ==Future scope== |