Commit Graph

87 Commits

Author SHA1 Message Date
Cyano Hao 8b80e2a77d
remove pre-Qt 5.15 stuff (#405) 2024-04-28 16:46:01 +08:00
Roy Qu dce6d97009 reduce icon size in completion popup 2024-04-07 10:22:57 +08:00
Roy Qu ba6d8fa77d reduce icon size in completion popup 2024-04-07 09:58:30 +08:00
Roy Qu 8fb756da77 - enhancement: Size of icons in the completion popup changes with the editor font size. 2024-04-06 21:45:00 +08:00
Roy Qu 17fddff91b clean code
refactor: rename fileIncludes to fileInfo
2024-04-06 18:10:49 +08:00
Roy Qu 648e555fc5 refactor: enum to enum class 2024-04-03 10:37:29 +08:00
Roy Qu 8fc621829e - enhancement: Make colors in code suggestion popup consistent with the editor.
- enhancement: Make colors in header suggestion popup consistent with the editor.
2024-03-31 20:43:37 +08:00
Roy Qu 8eee3de831 - Change: Change background color for highlighted buttons in the default theme.
- enhancement: Make matched contents more obvious in the code suggestion popup.
  - enhancement: Make matched contents more obvious in the header suggestion popup.
2024-03-31 17:23:16 +08:00
Roy Qu 83e2afb049 remove debug info 2024-03-28 15:30:10 +08:00
Roy Qu 40777386a9 fix #326 - enhancement: Suggest macro names after "#ifdef"/"#ifndef". 2024-03-26 13:18:00 +08:00
Roy Qu b485e18e04 fix: lambda expression capture support 2024-03-23 09:13:07 +08:00
Roy Qu 09a61c4c32 support lambda expression captures. 2024-03-23 09:03:20 +08:00
Roy Qu aad4050c25 - enhancement: Show "std::function" in the completion list. 2024-03-22 09:23:49 +08:00
Roy Qu c742a8bb29 - enhancement: Issue #196 Support C++ using alias in syntax highlighting/code completion/function tips. 2024-03-07 21:35:53 +08:00
Roy Qu ce678c64e8 - Enhancement: Better type induction for auto in foreach loop of maps. 2023-11-26 16:30:22 +08:00
Roy Qu aa12dcc4d1 - fix: Crash if #include a non-exist header file in the source. 2023-11-05 21:00:52 +08:00
Roy Qu b449085870 - enhancement: Hide symbols that contains "<>" in code suggestions. 2023-10-27 20:28:41 +08:00
Roy Qu 30cabe2faa - enhancement: Parse files that contains C++ 20 'concept' keyword. (No code suggesion for concepts now)
- enhancement: Parse files that contains C++ 20 'requires' keyword.
  - fix: Code suggestions in namespace.
  - enhancement: Code suggestions for namespace alias.
  - fix: Correctly handle statements like 'using xxx::operator()'.
2023-10-22 13:19:03 +08:00
Cyano Hao 0bb941e7fd
fix ibus focus losing behavior (#142) 2023-10-18 21:52:58 +08:00
Roy Qu 5371311219 - fix: Icon position not correct under hiPDI devices. 2023-10-15 12:45:31 +08:00
Roy Qu 6a06b5b3d6 - fix: Dummy struct/enum symbols shouldn't be shown in the completion suggestion.
- enhancement: Support optional enum name.
  - enhancement: Support optional enum type.
  - enhancement: Support simple const expression evaluation for enum values.
  - fix: Accessibilty for inherited members are not correct calculated in multiple inheritance.
  - fix: Can't handle full class name when handle inheritance.
2023-08-07 14:23:57 +08:00
Roy Qu b571e5f535 - enhancement: Show code completion suggestion after "typedef" and "const". 2023-07-03 09:36:27 +08:00
Roy Qu 9e7d82fc52 work save 2023-06-20 10:58:14 +08:00
Roy Qu 1928783cbd - enhancement: differenciate -> and . when displaying completion suggestion infos. 2023-06-20 09:57:57 +08:00
Roy Qu 4746d1b63c - enhancement: Code completion for '->' operator on std iterators. 2023-06-08 17:15:55 +08:00
Roy Qu e44b2999e1 - enhancement: show completion for return type of lambda expressions. 2023-05-26 08:55:21 +08:00
Roy Qu de406de236 refactor : member accessibility processing in the parser 2023-03-12 18:24:58 +08:00
Roy Qu fec78d0045 - enhancement: Don't show operator overloading functions in the complete suggestions
- enhancement: Correctly hanlde operator overloading functions like "operator ClassA"
2023-03-10 20:13:52 +08:00
Roy Qu f91e35192f - fix: preprocessors is not correctly suggested.
- fix: javadoc-style docstring is not correctly suggested
  - enhancement: Better syntax color for asm files.
2023-02-09 21:01:01 +08:00
Roy Qu 7085318197 - enhancement: Auto suggest keyword "operator" when define functions.
- fix: Differentiate class and constructors.
2023-02-05 21:55:23 +08:00
Roy Qu b1ca0bb600 - enhancement: Import FPS (free problem set) files. 2022-12-11 19:47:43 +08:00
Roy Qu 9f2ab0479e minor fix 2022-12-03 11:02:33 +08:00
Roy Qu 3a1bc97ca5 minor refactor 2022-11-28 11:28:02 +08:00
Roy Qu adb3d79b60 - enhancement: Deduce type info for "auto" in some simple cases. 2022-11-27 13:32:14 +08:00
Roy Qu 8788e950dd - enhancement: show completion suggest for "namespace" after "using"
- fix: MinGW-w64 gcc displayed as "MinGW GCC"
2022-11-25 10:01:10 +08:00
Roy Qu d86e93dc35 - enhancement: Options -> editor -> custom C/C++ type keywords page 2022-11-22 15:14:05 +08:00
Roy Qu a9c266c39a clean up code 2022-11-16 10:29:20 +08:00
Roy Qu eceba8b8f2 - enhancement: show completion tips for when define a function that already has a declaration.
- clean up code
2022-11-10 13:35:13 +08:00
Roy Qu 052f4610ee - fix: crash when alt+mouse drag selection 2022-11-10 09:05:34 +08:00
Roy Qu ae7e914788 refactor code 2022-11-10 08:05:04 +08:00
Roy Qu 6a13d6462a clean up code 2022-11-10 07:47:57 +08:00
Roy Qu ab9aa75d1f work save 2022-11-01 09:02:17 +08:00
Roy Qu 2ce732cfa5 C/C++ use differnet parser 2022-10-28 09:47:34 +08:00
Roy Qu f67628863f - fix: minor memory leaks when set itemmodels
- fix: thread for parsing doesn't correctly released when parsing finished ( so and the parser)
2022-10-10 18:05:18 +08:00
Roy Qu eebd7336c2 - change: sort local identifiers before keywords in the auto completion popup 2022-07-22 21:02:07 +08:00
Roy Qu 19c2096e5e minor fix 2022-04-25 10:13:28 +08:00
Roy Qu ee59d80bdb - enhancement: enable group undo
- enhancement: add option "hide symbols start with underscore" and "hide synbols start with two underscore"
  - fix: can't rename project files that not openned in editor
  - fix: dpi changes in CPU window shouldn't affect main window
2022-03-01 22:03:54 +08:00
Roy Qu bf25853da1 - fix: wrong code completion font size, when screen dpi changed
- enhancement: replace Files View Panel's path lineedit control with combo box
2022-02-11 20:19:48 +08:00
Roy Qu 428a079b7f auto generate qrc files for iconsets, color schemes and themes 2022-01-30 00:01:15 +08:00
Roy Qu 00da09199b refine code completion ui 2022-01-27 21:27:51 +08:00