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 aware about the open source technologies and motivated to contribute in them.
+
*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]]
  
'''Other Editors Review'''
+
'''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'
  
These are the editors we can integrate into OpenSCAD application and have a better user experience of programming.
+
This can be done via two approaches:-
 +
* Built our own simple indentation mechanism or
 +
* Use a complete formatting library like http://astyle.sourceforge.net/
  
http://www.riverbankcomputing.co.uk/software/qscintilla/intro
+
'''Code line numbers:- '''
 
 
http://bellard.org/qemacs/
 
 
 
https://github.com/pasnox/qodeedit
 
 
 
One of these will be chosen and integrated according to the agreement of mentor and feedback of the community
 
 
 
'''Launching Screen'''
 
 
 
A get started window will be provided to ask the user, what is his next approach like the one we have in Qt Creator application. Different approaches can be
 
 
 
*Examples
 
*Get started tutorial
 
*Open existing file
 
*Create new project
 
 
 
'''Code line numbers'''
 
An option will be provided in the menu to add line number before each line of the code.
 
 
 
'''Error Highlighting'''
 
The line having error will be highlighted along with the line number.
 
 
 
'''Better Console'''
 
Errors and warning will be shown in better way. Warning will also show line number with it.  A cross sign to hide the console will be on the console itself.
 
 
 
'''Export Dashboard'''
 
A separate dialog box will be provided to export the model in different file formats.
 
 
 
'''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 129: Line 109:
 
* 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)'''
+
"Week 3(2nd June)
 
*Improve on and integrate a good code editor.
 
*Improve on and integrate a good code editor.
  
Line 164: Line 144:
  
 
'''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 (https://github.com/openscad/openscad/issues/649 )
+
* 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)'''
+
"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.
  
Line 246: Line 227:
 
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==

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)