[Qt-creator] C++ Plugin: Check word against C++ Code Model

2013-05-10 Thread Carel Combrink
Hi, I am busy with a Qt Creator plugin for the C++ Editor. How do I use the C++ code model to check if a word is a function, class, etc or 'just a word'? The plugin parses the comment tokens in a C++ Editor. For an example: I have the following code: /* This is function myFunction */ void

Re: [Qt-creator] SpellChecker: Underline Spelling mistakes

2014-07-12 Thread Carel Combrink
Message- From: preeteesh kakkar Sent: 12/07/2014, 9:28 AM To: Carel Combrink Cc: qt-creator@qt-project.org Subject: Re: [Qt-creator] SpellChecker: Underline Spelling mistakes Sorry somehow i clicked on Send button a little too early, so can you share code which you are using to highlight a text

Re: [Qt-creator] SpellChecker: Underline Spelling mistakes

2014-07-13 Thread Carel Combrink
out but somehow did not do that. ) Regards, --- Check out my SpellChecker Plugin for Qt Creator @ https://github.com/CJCombrink/SpellChecker-Plugin On Sat, Jul 12, 2014 at 10:20 AM, Carel Combrink carel.combr...@gmail.com wrote: Hi, Thanks for the feedback, I am planning to create a release

[Qt-creator] Offset issue with CPlusPlus::TranslationUnit::getPosition()

2015-01-27 Thread Carel Combrink
Hi, I have created a SpellChecker Plugin for QtCreator but I have an issue where if a comment contains a 'non-standard' character, (รถ - QChar(246)). I get a comment using the TranslationUnit::commentAt() function then split the comment into words. For each word I get the row and column number of

[Qt-creator] SpellCheckerPlugin: New version

2015-01-29 Thread Carel Combrink
I have created a new release for the SpellChecker Plugin for QtCreator 3.3. The newest feature is that the plugin can now also check the spelling of String Literals (quoted sequence strings Eg. My String). Please download the latest release from my github page here

[Qt-creator] QtCreator Plugins that depends on external libraries

2015-01-29 Thread Carel Combrink
Hi, With my SpellChecker Plugin https://github.com/CJCombrink/SpellChecker-Plugin a few comments were received about trying to integrate the plugin into the main QtCreator code (upstreaming it). Regarding this I would like to know: Say I get the code to conform to the QtCreator coding standard,

[Qt-creator] Remote device issue with 3.4

2015-04-28 Thread Carel Combrink
Hi All, I am deploying to a remote device from QtCreator of SSH, from Ubuntu 14.04 to Ubuntu 14.04. In Qt 3.3 this was working without any problems, but after upgrading to QtCreator 3.4 I get the following error trying to connect to my device (using the Test function on the Device

Re: [Qt-creator] Submitting a plugin that does not follow the coding style

2015-06-01 Thread Carel Combrink
Dear Oswald, Regarding this issue, is there a quick way to do a dry run on a plugin to see how much a plugin conforms (or does not conform) to the coding style? Regards, -- Check out my SpellChecker Plugin for Qt Creator @ https://github.com/CJCombrink/SpellChecker-Plugin On Mon, Jun 1, 2015

Re: [Qt-creator] Which plugins are you working on?

2015-05-24 Thread Carel Combrink
Hi Tobias, list I am working on a SpellChecker Plugin for Qt Creator to check spelling of comments and string literals in C/C++ files. I have just (last night) created a new release that adds the option so select C, C++ or both types of comments to be checked. It already has a lot of settings

Re: [Qt-creator] Issue parsing QStringLiteral() in SpellChecker Plugin

2015-07-30 Thread Carel Combrink
Hi Kikolai, Looks like a bug on Windows - there I also get the +2 lines difference. I agree with you, on Linux I was able to implement your suggestion and now my SpellChecker works correctly for QStringLiterals. PS: I have no way to test on Mac so the code will be enabled if building from

[Qt-creator] Building 3.5: Dependent 'commondefines.h' does not exist.

2015-08-10 Thread Carel Combrink
Hi, I have cleaned up my development environment (Windows) by reinstalling Qt (5.5) from scratch and getting the sources for Qt Creator 5.5. When I try to build Qt Creator I get the following error: C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.qmldesignerplugin.Release Error: dependent

Re: [Qt-creator] Building 3.5: Dependent 'commondefines.h' does not exist.

2015-08-14 Thread Carel Combrink
I have created a Bug Report on the Qt Creator Jira describing the issue: https://bugreports.qt.io/browse/QTCREATORBUG-14917 Any help will be appreciated. If there are any more information that I can provide, please do not hesitate to ask. Regards, Carel

Re: [Qt-creator] Building 3.5: Dependent 'commondefines.h' does not exist.

2015-10-29 Thread Carel Combrink
get my environment ready to release my SpellChecker <https://github.com/CJCombrink/SpellChecker-Plugin> plugin in time for the release of QtC 3.6. If I am doing something wrong, please let me know so that I can fix it. Regads, On Fri, Aug 14, 2015 at 10:06 PM, Carel Combrink <carel.combr...@g

Re: [Qt-creator] Parse macro arguments for Spell Checking

2016-01-26 Thread Carel Combrink
Dear Nikolai, You can get the unpreprocessed source code with e.g. > > auto *cppModelManager = CppModelManager::instance(); > auto *cppEditorDocument = > cppModelManager->cppEditorDocument(document->fileName()); > if (cppEditorDocument) { > // Editor is opened and can provide us the source

[Qt-creator] QtCreator release and MSVC2015

2016-09-01 Thread Carel Combrink
Hi, Just out of a matter of interest, what are the plans to start building the QtCreator that gets shipped with Qt (online/offline) on Windows with MSVC 2015? Also any comment on a 64 bit version? Are there any reason why this not yet done? I developed and maintains a SpellChecker plugin for

[Qt-creator] Qt Creator: unknown warning group on Q_OBJECT using clang code model

2017-03-14 Thread Carel Combrink
Hi, I have just switched over to to using the ClangCodeModel in Qt Creator 4.2.1 but get the following warning on the O_OBJECT macro (see attached image): Lexical or Preprocessor Issue 20:5 warning unknown warning group '-Wsuggest-override', ignored. ... Is this a known issue? I have looked

[Qt-creator] Qt Creator 4.4 Windows Compiler

2017-08-15 Thread Carel Combrink
Hi, What version of Visual Studio will be used to build the final release of Qt Creator 4.4 for Windows? I just want to plan regarding the support for my QtC SpellChecker Plugin . Regards, Carel ___

Re: [Qt-creator] Qt Creator 4.4 Windows Compiler

2017-08-15 Thread Carel Combrink
Are there any roadmap plans on when the move to 2017 will be made/considered? On Tue, Aug 15, 2017 at 9:19 AM, Eike Ziller <eike.zil...@qt.io> wrote: > > > On 15. Aug 2017, at 08:19, Carel Combrink <carel.combr...@gmail.com> > wrote: > > > > Hi, > > >

[Qt-creator] C++14 Digit Separators issue in Qt Creator

2017-05-26 Thread Carel Combrink
Hi All, I have requested QTCREATORBUG-14939 to be reopened since the behavior around C++14 Digit separators is less than ideal. For more information see the comment that I added. Regards, ___

Re: [Qt-creator] Qt Creator plugin distribution - best practices and future plans

2018-05-31 Thread Carel Combrink
Hi, As the developer for the SpellChecker plugin[1] I am currently at a stage where I only build releases as needed. This can be downloaded from the release page [2]. Normally I only need to create a binary for the major.minor releases, then it works on the patch releases as well. This however

Re: [Qt-creator] Qt Creator plugin distribution - best practices and future plans

2018-06-05 Thread Carel Combrink
Hi, That is exactly the same error that I saw on Linux (and crash), on Windows at least Qt Creator complained that it did not want to load the plugin (did not crash) Regards, On Tue, Jun 5, 2018 at 3:32 PM, Davide Coppola wrote: > Thanks Eike and Carel for your replies. > > All you said makes

Re: [Qt-creator] The words "line" and "column" are black

2018-08-06 Thread Carel Combrink
I normally see this if the file that I open is read-only (on Windows). I have commented on the issue as well. On Mon, Aug 6, 2018 at 1:16 PM Christian Stenger wrote: > > https://bugreports.qt.io/browse/QTCREATORBUG-20916 > > > From: Qt-creator > on

Re: [Qt-creator] The great idea for Qt Creator

2018-09-04 Thread Carel Combrink
On Wed, Sep 5, 2018 at 7:16 AM Tomasz Siekierda wrote: > > On Tue, 4 Sep 2018 at 20:52, Szyk Cech wrote: > > > > Hi > > > > I want introduce big improvement (at least in my humble opinion) to Qt > > Creator. > > > > My idea is very simple and very strong logical/rational/sensible and Qt > >

Re: [Qt-creator] Memory usage of Qt Creator

2018-04-13 Thread Carel Combrink
Hi, I work on a quite large application and my clangbackend crashes often due to running out of memory. I am using Qt Creator 4.6.0 [Qt 5.10.1 (MSVC 2015, 32 bit)] Thus if the clangbackend reaches about 1.4GB of RAM it crashes, then starts growing again, rinse and repeat... Switching to 64 but

Re: [Qt-creator] Qt creator + Clang model = major annoyance

2019-01-05 Thread Carel Combrink
Unfortunately I have to agree, in my view the move to CCM was a step backwards for Qt Creator. I do understand the reasoning but few things should have been prioritized before the move was made. I have the following major annoyances: 1. Can't open context help for a Qt function/class if the line

Re: [Qt-creator] [Announce] Qt Creator 4.9 RC released

2019-03-27 Thread Carel Combrink
if it is not solved. I do not have the same issue with QtC 4.8 Regards, Carel Combrink On Wed, Mar 27, 2019 at 1:59 PM List for announcements regarding Qt releases and development wrote: > We are happy to announce the release of Qt Creator 4.9 RC! > > https://blog.qt.io/blog/2019/03/27/qt-creat

Re: [Qt-creator] Request advices for Qt Creator plugin developers to adopt API changes easily

2019-08-06 Thread Carel Combrink
Hi, It would start with putting the plugin code at codereview.qt-project.org, > with target branch 'master'. > I also have this issue as the developer of the SpellChecker-Plugin[1] for Qt Creator. My question is, how does one handle the case where the plugin depends on an external lib, in my

Re: [Qt-creator] Qt Creator is cool. :-)

2021-05-10 Thread Carel Combrink
I want to take this opportunity to second this. A year ago I changed jobs and had to work with 'one of the best Integrated Development Environments' out there due to vendor locked in project files, build systems and environments. And I have to say, after a year I am fully convinced that Qt

[Qt-creator] Qt Creator SpellChecker Plugin: Quick Survey

2021-02-09 Thread Carel Combrink
Hi, I have created a quick 10 question survey about my SpellChecker Plugin for the Qt Creator IDE. Please take a minute or two and complete the survey at the following (even for those who are not using the plugin) link: https://www.surveymonkey.com/r/7DRQ85N For those who are not aware: The

Re: [Qt-creator] Plans to support WSL development

2022-01-16 Thread Carel Combrink
Hi, Thank you for the inputs. > >> Hi, since WSL has problems running any Qt program: > >> https://github.com/microsoft/WSL/issues/3023 also see > >> https://forum.qt.io/topic/132610/qtcreator-6-0-can-t-start/53 > >> I think prio #1 should be getting libQt6Core.so.6 working in WSL. > I am not

[Qt-creator] Plans to support WSL development

2022-01-15 Thread Carel Combrink
Dear Qt Creator developers, Are there any plans (short, medium or long term) to add/improve support for developing Linux apps in WSL? I am thinking about something in line with what VSCode offers, where Qt Creator runs on the Windows side but works with the compilers and files in the Unix

Re: [Qt-creator] Updating requirements for building Qt Creator 7+ (master branch)

2022-01-15 Thread Carel Combrink
Dear Eike, Thank you for the update > # Removing qmake as a build system for building Qt Creator itself > Does this also include building Plugins? Are there perhaps any guide or tips for plugin creators/mainters on how to port their existing plugins from qmake to CMake? Kind regards, Carel

Re: [Qt-creator] Closing pinned files

2022-11-10 Thread Carel Combrink
On Mon, 31 Oct 2022 at 09:51, Eike Ziller via Qt-creator < qt-creator@qt-project.org> wrote: > > > The idea is to avoid accidentally closing the pinned file via shortcuts. > So not necessarily about forbidding closing it, but ensuring that it > doesn't leave the open documents list. > > I also

Re: [Qt-creator] Need help building my plugin in GitHub

2024-04-04 Thread Carel Combrink
Just a follow up. The issue now is my plugin includes > qt-creator\src\plugins\texteditor\syntaxhighlighter.h > > which includes #include >

[Qt-creator] Need help building my plugin in GitHub

2024-04-04 Thread Carel Combrink
Hi, I am trying to make a new release for my SpellChecker Plugin for the new Qt Creator 13 release. In the past my github action would download the Qt Creator and the _dev packages from the Qt Mirrors (example for Windows: Index of