Commit Graph

301 Commits

Author SHA1 Message Date
Roy Qu 6f8096bc27 change: redesign code completion logic 2021-12-04 10:02:07 +08:00
Roy Qu 20782fc221 stage 1 finished: use the expression token list in the editor to completion,
instead of just the expression string
2021-12-03 21:07:40 +08:00
Roy Qu fd03ea4098 work save 2021-12-03 11:40:05 +08:00
Roy Qu 54443c20f8 done: find completion word 2021-12-02 18:29:37 +08:00
Roy Qu 9cdac8c3ef work save 2021-12-01 23:41:14 +08:00
Roy Qu de0f176284 breakpoint / run / evaluation / memory view ok 2021-11-24 22:16:40 +08:00
Roy Qu b17406eb07 work save 2021-11-24 17:53:25 +08:00
Roy Qu fdfa7c779f work save 2021-11-24 10:07:35 +08:00
Roy Qu d3abf822fb Merge branch 'master' into gdbmi 2021-11-23 18:16:53 +08:00
Roy Qu cd1e20c2d7 - fix: restore caret position after reformat code
- enhancement: ask user to rebuild project, when run/debug the project and it has been modified
 - fix: correct set the enabled state of "delete line"/"insert line"/"delete word"/"delete to BOL"/"delete to EOL" menu items
2021-11-23 10:32:33 +08:00
Roy Qu dda0f82b4d - fix: columns calculation not correct when paint lines containing chinese characters 2021-11-22 19:10:56 +08:00
royqh1979@gmail.com 6ba2d47c81 - enhancement: add "delete line"/"duplicate line"/"delete word"/"delete to EOL"/"delete to BOL" in the edit menu 2021-11-22 16:16:58 +08:00
royqh1979@gmail.com e044bb0703 Merge branch 'master' into gdbmi 2021-11-20 07:22:09 +08:00
royqh1979 1c9bb49799 - enhancement: save/load default projects folder
- enhancement: add editor general options "highlight current word" and "highlight matching braces"
2021-11-18 21:25:28 +08:00
royqh1979@gmail.com 177cd6e397 - enhancement: code completion suggestion for phrase after long/short/signed/unsigned 2021-11-18 12:51:05 +08:00
royqh1979@gmail.com c7748bf5b2 Merge branch 'master' into gdbmi
# Conflicts:
#	RedPandaIDE/qsynedit/SynEdit.cpp
2021-11-13 10:55:10 +08:00
royqh1979@gmail.com 664c8e752a work save 2021-11-13 09:05:02 +08:00
royqh1979@gmail.com d28805ea55 - fix: editor auto save settings not saved and applied
- fix: only auto save files that has new modifications
 - fix: correctly auto save files with it's own name
2021-11-12 12:40:47 +08:00
royqh1979@gmail.com 8b7d19f94e work save 2021-11-12 10:51:00 +08:00
royqh1979@gmail.com 3d2fb53388 - fix: can't show code completion popup if symbol is proceed with an operator '~' ( and it's not a destructor)
- fix: can't show code completion popup when define MACRO
 - fix: can't debug files with chinese characters in the path
2021-11-10 21:28:08 +08:00
royqh1979@gmail.com ad7fb23117 - fix: shouldn't auto add '()' when char succeeding the completed function name is '(' 2021-11-10 12:35:13 +08:00
royqh1979@gmail.com 4259480471 - fix: correct set the position of chinese input methods 2021-11-08 21:19:48 +08:00
royqh1979 93463c24ca work save 2021-11-08 14:51:20 +08:00
royqh1979 f167e10c12 - enhancement: auto clear parsed symbols when the editor is hidden ( to reduce memory usage of un-active editors) 2021-11-08 09:19:50 +08:00
royqh1979@gmail.com 3e0925ba70 - fix: when changing options in the option dialog's color scheme panle, color of the demo editor won't be not correctly updated
- enhancement: Add default color scheme to themes. Change theme option will change color scheme too.
2021-11-07 22:34:19 +08:00
royqh1979@gmail.com bca0a3abc1 - fix: indents calculation for the line succeeding "*/" 2021-11-07 11:39:52 +08:00
royqh1979@gmail.com c98e169fa3 - fix: Installer should install the app in "program files", not "program files (x86)"
- fix: symbol completion for '/*' not work
 - fix: javadoc-style docstring indents calculation
2021-11-07 10:48:09 +08:00
royqh1979 4d48cca3de - fix: multi-line comments indents calculation 2021-11-07 01:07:41 +08:00
royqh1979 bd26ad967d - enhancement: set problem's answer source file
- enhancement: open the problem's answer source file in editor
2021-11-06 14:49:11 +08:00
royqh1979 731a10a1d6 - enhancement: check syntax/parse symbols when modifed and cursor's line changed. 2021-11-04 00:38:40 +08:00
royqh1979 9638cbdd3f - enhancement: can use symbols' own foreground color to draw selection or the current line
- enhancement: can use different colors to highlight the current word and the selections
 - enhancement: can set editor's default background / foreground color. They must be setted to make the custom color schemes correctly.
 - enhancement: can set the color for the current line's number in the gutter
 - all predefined color schemes updated.
2021-11-03 23:27:05 +08:00
royqh1979@gmail.com 6ad87990c7 - fix: Custom editor colors shouldn't be tested for high contrast with the default background color
- fix: Custom color settings not correctly displayed in the options widget
 - enhancement: add hit counts in the search result view
 - fix: editor actions' state not correctly updated after close editors.
 - fix: When replace in the editor, "Yes to All" and "No" button doesn't work correctly.
 - fix: crash when editing non-c/c++ files
 - enhancement: set the alpha value of scheme colors
 - enhancement: can use symbols' own scheme color to draw selection
 - enhancement: can use different colors to highlight the current word and the selections
2021-11-03 18:09:12 +08:00
royqh1979@gmail.com f28aac649b - fix: remove the file change monitor if it's remove from the disk
- fix: don't test if a file is writable before save to it (because qt can't do that test reliably).
 - problem set ui almost done
2021-11-02 01:07:37 +08:00
royqh1979@gmail.com b8f5f43d23 - fix: When debugging, if value of the variable pointed by the mouse cursor is too long, tooltip will fill the whole screen. 2021-10-31 10:11:30 +08:00
royqh1979@gmail.com f9cefaf196 * unindent when input public: / private: / protected: 2021-10-29 21:22:41 +08:00
royqh1979@gmail.com fde31ce7b5 - enhancement: more accurate auto indent calculation
- change: remove "add indent" option in the editor general options widget ( It's merged with "auto indent" option)
2021-10-29 15:15:43 +08:00
royqh1979 b2e88c4c00 - fix: crash when create an empty project 2021-10-25 00:30:53 +08:00
royqh1979 7d82f37462 - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 15:17:31 +08:00
royqh1979 c7205f572e - enhancement: "use utf8 by default" in editor's misc setting 2021-10-24 13:03:54 +08:00
royqh1979 c3be38b9b6 - fix: file path seperator used in the app is not unified, and cause errors somtimes. 2021-10-23 17:32:03 +08:00
royqh1979 15fd6aab03 - fix: rainbow parenthesis stop functioning when change editor's general options
- make toolbar seperator lighter in dark themes
2021-10-23 09:05:51 +08:00
royqh1979@gmail.com 9d829876b3 - fix: app's title not update when editor closed
- fix: editor's modified status not correctly updated when using new file template
2021-10-22 16:43:53 +08:00
royqh1979@gmail.com 7a5b6b8efc - implement: files view 2021-10-22 15:02:54 +08:00
royqh1979 3e442b0860 - enhancement: autosave/load bookmarks
- enhancement: autosave/load breakpoints
 - enhancement: autosave/load watches
2021-10-21 19:33:11 +08:00
royqh1979@gmail.com e10e173cc9 - enhancement: bookmark view 2021-10-21 17:31:25 +08:00
royqh1979 4eec5cafb8 fix: new editor not correctly add to the editorlist 2021-10-20 18:16:10 +08:00
royqh1979 5c9ef2035e clean up compile warnings 2021-10-20 18:05:43 +08:00
royqh1979@gmail.com e2751fc693 - enhancement: set mouse wheel scroll speed in the editor general option tab ( 3 lines by default) 2021-10-20 12:27:44 +08:00
royqh1979@gmail.com ae2f3596aa - enhancement: new file template
- fix: when an editor is created, its caret will be displayed even it doesn't have focus
2021-10-20 12:11:36 +08:00
royqh1979@gmail.com 25d83d0e8d - enhancement: fill indents in the editor (Turned off by default) 2021-10-20 11:14:49 +08:00
royqh1979@gmail.com d188d8897f - fix: save as file dialog's operation mode is not correct 2021-10-19 22:41:38 +08:00
royqh1979@gmail.com fee2115093 - fix: add mutex lock to prevent editor crash in rare conditions 2021-10-17 21:09:50 +08:00
royqh1979@gmail.com a1e5ce379e - fix: debugger won't exit when the program has exited.
- adjust: the max value of the debug console's vertical scrollbar.
2021-10-13 12:55:41 +08:00
royqh1979@gmail.com 59390203e3 - fix: crash when create new file
- implement: two editor view
2021-10-13 11:32:59 +08:00
royqh1979@gmail.com e50a8d0faf correctly update old matching brackets 2021-10-12 20:45:26 +08:00
royqh1979@gmail.com 141de5ed74 - implement: highlight matching brackets 2021-10-12 20:38:39 +08:00
royqh1979@gmail.com 7eda4e35b3 - implement: export as rtf / export as html
- fix: the contents copied/exported are not correctly syntax colored
 - fix: stop execution if the source file is not compiled and user choose not to compile it
 - fix: not correctly parse gdb's output
 - fix: path not correctly setted for the debugger process
 - fix: indent line not correctly drawed
2021-10-12 19:39:24 +08:00
royqh1979@gmail.com bb8b711376 - implement: export as rtf / export as html
- fix: the contents copied/exported are not correctly syntax colored
 - fix: stop execution if the source file is not compiled and user choose not to compile it
2021-10-12 09:47:58 +08:00
royqh1979@gmail.com 80be584700 remove debug output 2021-10-10 22:50:25 +08:00
royqh1979@gmail.com 58e849063c - fix: unneeded empty lines when copy as HTML 2021-10-10 22:48:54 +08:00
royqh1979@gmail.com 8599190d13 - fix: font styles in the color scheme settings not in effect 2021-10-10 21:23:25 +08:00
royqh1979@gmail.com 9e0beb8046 - fix: code completion popup not show after '->' inputted 2021-10-10 20:20:43 +08:00
royqh1979@gmail.com 83b99c99de - fix: should use c++ syntax to check ".h" files
- fix: can't copy contents in a readonly editor
 - fix: project's file not correctly syntaxed when open in editor
2021-10-09 22:03:05 +08:00
royqh1979@gmail.com a16562f6ce - fix: The Enter key in the numpad doesn't work
- fix: The compiled executable not fully write to the disk before run it
 - fix: settings object not correctly released when exit
 - fix: shouldn't check syntax when save modifications before compiling
 - fix: shouldn't scroll to the end of the last line when update compile logs
 - fix: can't debug project
2021-10-09 11:33:23 +08:00
royqh1979@gmail.com c58ddf7073 - fix: The Enter key in the numpad doesn't work
- fix: The compiled executable not fully write to the disk before run it
 - fix: settings object not correctly released when exit
2021-10-09 09:09:05 +08:00
royqh1979@gmail.com b0442258db - print support 2021-10-07 07:52:20 +08:00
royqh1979@gmail.com ec458a880a - fix: editor's inproject property not correctly setted (and may cause devcpp to crash when close project) 2021-10-07 00:48:05 +08:00
royqh1979@gmail.com 3e8200d307 - use QMutex instead of QRecursiveMutex in SynEdit
- Can use tab / shift-tab as shortcut for indent/unindent
2021-10-06 23:35:45 +08:00
royqh1979@gmail.com 8e4c20a2a3 - fix: makefile generated for static / dynamic library projects not right
correct processing for input in code template's place holders
2021-10-05 23:30:34 +08:00
royqh1979@gmail.com ffb87fe66c input method processing for line has selections and special areas
- fix: add mutex lock to prevent rare conditions when editor is modifying and the content is read
2021-10-05 21:25:23 +08:00
royqh1979@gmail.com f8f5b7b0d8 add underline to indicate current ime input 2021-10-05 00:42:35 +08:00
royqh1979@gmail.com 3ed5701621 fix: #include_next processing 2021-10-04 22:32:34 +08:00
royqh1979@gmail.com 2f76aa42a8 hide popup windows in editor when focus out 2021-10-04 22:10:13 +08:00
royqh1979@gmail.com 08d1006ae0 - enhancement: todo view 2021-10-03 17:18:43 +08:00
royqh1979@gmail.com d58e2ac54e - fix: errors in code snippet processing
- change: auto open a new editor at start
2021-10-03 09:57:19 +08:00
royqh1979@gmail.com caaf07a6cc - fix: old data not displayed when editing code snippets
- fix: shift-tab for unindent not work
 - fix: can't save code snippets modifications
2021-10-03 08:25:28 +08:00
royqh1979@gmail.com 8ebe9174bb - implement: symbol usage count
- implement: user code snippet / template
 - implement: auto generate javadoc-style docstring for functions
 - enhancement: use up/down key to navigate function parameter tooltip
 - enhancement: press esc to close function parameter tooltip
 - enhancement: code suggestion for unicode identifiers
2021-10-02 15:34:18 +08:00
royqh1979@gmail.com 237e86cea0 - implement: user code snippet / template
- implement: auto generate javadoc-style docstring for functions
 - enhancement: use up/down key to navigate function parameter tooltip
 - enhancement: press esc to close function parameter tooltip
2021-10-02 13:29:45 +08:00
royqh1979 ae9c90236f work save 2021-10-02 10:05:48 +08:00
royqh1979 bf378d3408 work save 2021-10-02 10:05:14 +08:00
royqh1979 80df4701d6 work save 2021-10-02 09:16:44 +08:00
royqh1979 23b651f0c4 work save 2021-10-01 21:16:22 +08:00
royqh1979@gmail.com 6ecfd228be work save 2021-09-30 21:25:48 +08:00
royqh1979@gmail.com c59e2c6667 work save 2021-09-30 20:10:48 +08:00
royqh1979 b518304f56 - implement: symbol usage count
work save: code snippets
2021-09-30 11:20:43 +08:00
royqh1979 fbdba624be - enhancement: show caret when show code/header completions
- fix: correctly display pointer info in watch console
 - enhancement: search in project
2021-09-29 20:45:03 +08:00
royqh1979@gmail.com 7c68fc4f75 - fix: when press shift, completion popu window will hide
- enhancement: options in debugger setting widget, to skip system/project/custom header&project files when step into
2021-09-28 14:18:51 +08:00
royqh1979@gmail.com 3afe034aa1 - fix: crash when load last opens
- enhancement: when a system/project header file is saved to non-system folders, un-readonly the editor
 - minor speedup when processing tooltips
2021-09-28 10:01:13 +08:00
royqh1979@gmail.com 22acab0950 fix : header file completion stop work when input '.' 2021-09-27 00:52:25 +08:00
royqh1979@gmail.com 23c6f7f702 fix: cursor is always IBeam 2021-09-26 23:47:37 +08:00
royqh1979@gmail.com 2915a862ff fix: can't correctly create project in release mode 2021-09-26 22:39:26 +08:00
royqh1979@gmail.com 36fa23634d class browser icons 2021-09-26 12:19:46 +08:00
royqh1979@gmail.com 3a6097c40f class browser color ok 2021-09-25 23:12:36 +08:00
royqh1979@gmail.com dc807f527c - function tips done 2021-09-25 21:34:10 +08:00
royqh1979@gmail.com 342f497fba work save 2021-09-25 08:40:18 +08:00
royqh1979@gmail.com 97e37bfd62 refactor normailizedbuffercoord 2021-09-25 07:51:48 +08:00
royqh1979@gmail.com ba8d42716a work save 2021-09-24 22:49:36 +08:00
royqh1979@gmail.com 428b293196 work save 2021-09-24 11:41:14 +08:00
royqh1979@gmail.com 95cb5ea52e - enhancement: options for editor tooltips 2021-09-21 20:36:43 +08:00
royqh1979 01e8e0ae41 add: normalized buffer coord in qsynedit, to easy parse contents 2021-09-20 15:57:48 +08:00
royqh1979@gmail.com 77356215aa - enhancement: paint color editor use system palette's disabled group color
- fix: add watch not work when there's no editor openned;
 - enhancement: rainbow parenthesis
 - enhancement: run executable with parameters
2021-09-19 17:59:03 +08:00
royqh1979@gmail.com 88ac399b4e work save: project basicly done
- rename project unit / folder
 - add / remove project folder
 - open project in explorer / terminal
2021-09-18 10:47:35 +08:00
royqh1979@gmail.com b70144532e work save 2021-09-17 13:35:50 +08:00
royqh1979 b88dd1478c work save: new project 2021-09-17 07:44:03 +08:00
royqh1979@gmail.com f8be0d62c7 work save: new project 2021-09-16 23:51:05 +08:00
royqh1979@gmail.com 14c83ab829 - fix: caret color error when turn on option "caret use text color"
- show / hide some options depends on other options state
2021-09-15 14:35:37 +08:00
royqh1979@gmail.com 1a00443f89 work save:
- change editor's encoding also change project unit's encoding Option
 - ascii encoding file don't add encoding info when generating project make file
 - make Settings Dialog more general
2021-09-14 12:10:43 +08:00
royqh1979@gmail.com 6335991ccf work save: compile & run project 2021-09-13 22:45:50 +08:00
royqh1979@gmail.com 6266a8adbf work save: open project file ok 2021-09-12 00:17:15 +08:00
royqh1979@gmail.com 85e9b4d697 work save: open project 2021-09-11 18:42:49 +08:00
royqh1979@gmail.com 9d28bcc735 work save 2021-09-10 12:37:02 +08:00
royqh1979@gmail.com fef7deaa50 work save 2021-09-07 16:49:35 +08:00
royqh1979@gmail.com 090a6d3e1e work save 2021-09-07 10:28:40 +08:00
royqh1979 6d027d612c - feature: context menu for breakpoint view
- feature: update breakpoint line when delete/insert lines
2021-09-05 22:16:54 +08:00
royqh1979 ca9f144444 - feature: search panel's context menu
- feature: handle double click on backtrace view
 - feature: handle double click on breakpoints view
2021-09-05 21:05:38 +08:00
royqh1979 64698287fc work save: translation updates 2021-09-04 19:27:44 +08:00
royqh1979@gmail.com cda37802ae - feature: file properties dialog
- fix: included file's using namespace list not correctly handled
2021-09-04 00:13:42 +08:00
royqh1979@gmail.com 842daf38a5 - feature done: find symbol occurencies
- feature: open containing folder
 - feature: open terminal
2021-09-03 16:39:20 +08:00
royqh1979@gmail.com 9cf43026ba - beautify dark theme
- feature: toggle breakpoint
 - feature: clear all breakpoint
 - feature: breakpoint condition
2021-09-03 10:30:08 +08:00
royqh1979@gmail.com 56ff4a6c35 feature: next / previous editor
fix: history file menu not get updated
2021-09-03 00:26:49 +08:00
royqh1979 805533664f - feature: save/restore main window layout
- feature: hide/show left panel
 - feature: double click editor title to maximize/restore it
 - fix: editor not updated when parser done
2021-09-02 19:36:16 +08:00
royqh1979@gmail.com 264e3533d9 Merge branch 'master' of github.com:royqh1979/RedPanda-CPP 2021-09-02 12:14:47 +08:00
royqh1979@gmail.com 6353f40208 feature: caret list 2021-09-02 12:14:02 +08:00
royqh1979 ff4e20ae18 - fix: indent error when overwrite '}' 2021-09-01 17:34:39 +08:00
royqh1979@gmail.com 0f70658d32 work save 2021-09-01 16:22:32 +08:00
royqh1979 72b8d51092 - feature: watch external file modifications
- fix: crash when load history file that doesn't exist
 - fix: only highlight fully selected word
2021-08-31 14:40:41 +08:00
royqh1979@gmail.com 08805cfb7e - feature: autosave 2021-08-30 22:05:45 +08:00
royqh1979 1684f9a71d work save 2021-08-30 19:52:38 +08:00
royqh1979 08ac0ad419 - feature: choose c or c++ as default file type 2021-08-30 18:36:44 +08:00
royqh1979 dd39b251b4 - feature: code completion settings dialog
- Simplified Chinese translation updated
- fix: crash when new a file
2021-08-30 16:59:08 +08:00
royqh1979 692ff570e2 Simplified Chinese translation updated
- fix: error when syntax checking for header file
 - open the included header file when double click it
 - use QEvent::HoverXXX messages instead of QEvent::Tooltip to handle hint tips
 - fix: type hint for functions is wrong
2021-08-30 13:30:42 +08:00
royqh1979 67fba515a3 - fix: cursor column info on status bar is wrong
- fix: can't correctly highlight function names in the editor
2021-08-29 22:51:23 +08:00
royqh1979 d3f7c872dd - feature done: editor info tooltips 2021-08-29 22:08:43 +08:00
royqh1979@gmail.com 3d103ddee9 work save: hint 2021-08-29 17:23:40 +08:00
royqh1979@gmail.com 2ae8521bca - fix: code suggestion popup window don't highlight current item
- fix:  the order of symbols in local and system headers in the suggestion popopup is wrong
2021-08-29 10:29:56 +08:00
royqh1979@gmail.com 7207994d57 work save: header completion suggestion done 2021-08-29 10:14:07 +08:00
royqh1979@gmail.com f1ae5bfdfd work save: header completion 2021-08-29 00:48:23 +08:00
royqh1979@gmail.com 05f686d61e work save 2021-08-28 09:01:40 +08:00
royqh1979@gmail.com 19e37b6ae7 work save 2021-08-27 23:51:42 +08:00
royqh1979@gmail.com a5239aea48 work save 2021-08-27 16:38:55 +08:00
royqh1979@gmail.com 6c8c100074 work save 2021-08-27 00:49:50 +08:00
royqh1979@gmail.com ddbd302af3 work save 2021-08-26 20:18:20 +08:00
royqh1979@gmail.com f8fae59dcc work save 2021-08-26 17:48:23 +08:00
royqh1979@gmail.com bf4d12b89f work save 2021-08-26 11:58:29 +08:00
royqh1979@gmail.com f3cc986c4e work save 2021-08-25 23:53:35 +08:00
royqh1979@gmail.com 6020323818 work save 2021-08-25 08:48:33 +08:00
royqh1979@gmail.com 60a4e8c468 work save 2021-08-23 17:27:17 +08:00
royqh1979@gmail.com efef9c35f4 work save 2021-08-23 10:16:06 +08:00
royqh1979@gmail.com 0c6be9b93c work save 2021-08-18 13:42:32 +08:00
royqh1979@gmail.com f93b23f451 work save: basic find done 2021-08-03 23:55:57 +08:00