Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:11
    stahta01 opened #2768
  • 03:39
    eranif labeled #2767
  • 01:42
    TRTurn opened #2767
  • 01:40
    TRTurn commented #2682
  • 00:40
    MC722 commented #2682
  • Jun 23 13:55
    liuanlin-mx opened #2766
  • Jun 23 07:24

    eranif on master

    include " as a delimiter (compare)

  • Jun 23 06:37
    eranif closed #2710
  • Jun 23 06:37

    eranif on master

    fixed: word completion is broke… (compare)

  • Jun 23 06:31
    eranif commented #2710
  • Jun 23 05:44
    eranif labeled #2710
  • Jun 23 05:44
    stale[bot] unlabeled #2710
  • Jun 23 05:44
    eranif reopened #2710
  • Jun 22 23:12

    eranif on master

    When choosing Direct2D renderin… (compare)

  • Jun 22 22:19

    eranif on master

    fixed: git: open file context m… (compare)

  • Jun 22 21:12

    eranif on master

    remove dead code (compare)

  • Jun 22 20:52

    eranif on master

    fixed: reset the "build interru… (compare)

  • Jun 22 20:46

    eranif on master

    Fixed: build tab: re-enabled `F… (compare)

  • Jun 22 18:59

    eranif on master

    Added: ColoursAndFontsManager::… (compare)

  • Jun 22 17:36
    Greg-21 commented #2710
N.saicharan
@n_nsaicharan61_twitter
and exiting by no executable target exec
so how to solve inside codelite ?
dghart
@dghart
Are you trying to 'run' or to 'debug'?
N.saicharan
@n_nsaicharan61_twitter
i went to the debugger and slected start debugging
selected*
dghart
@dghart
Do you have a debugger installed? Which, and where?
What happens if you try to debug your program inside a console?
N.saicharan
@n_nsaicharan61_twitter
i installed mingw64 compiler
dghart
@dghart
That is a compiler, not a debugger
N.saicharan
@n_nsaicharan61_twitter
how to check whethere we have debugger ?
because i think the mingw 64 contains a debugger as well
gdb
dghart
@dghart
Ah, gdb is fine
So you need to run your program inside it
When you try to do that inside CodeLite, the Debugger pane should open
Does it? If so, what does it say?
If not, you probably need to tell CodeLite where your gdb.exe (?) can be found
N.saicharan
@n_nsaicharan61_twitter
how to run the program inside the gdb?
dghart
@dghart
But this is Windows stuff, and I cannot help you
N.saicharan
@n_nsaicharan61_twitter
yeah just now i have seen the gdb is configured to x86_64-w64-mingw32
how to inform codelite that this is the debugger?
dghart
@dghart
Look in your main Debugger Settings, or in your Project's Settings > Debugger
N.saicharan
@n_nsaicharan61_twitter
there is nothing present over there
N.saicharan
@n_nsaicharan61_twitter
is there any one who can help me with windows?
dghart
@dghart
There should be something there. Find where your gdb is, and put its filepath there.
N.saicharan
@n_nsaicharan61_twitter
i tried but its still not working
Eran Ifrah
@eranif
@n_nsaicharan61_twitter click the help button in the project settings dialog
N.saicharan
@n_nsaicharan61_twitter
Yeah i have checked
still its not working :(
KodiiSalai
@KodiiSalai
Hi, someone can help me with an issue with the workspace panel?
Piotr Cała
@Pioxis_gitlab

Hi, someone can help me with an issue with the workspace panel?

Describe your problem ;)

iwbnwif
@iwbnwif
Hi, I am getting back into coding after a year or so break and it's good to see all the updates to Codelite / wxCrafter - especially the use of wxDLG_UNIT etc. which has really improved the HiDPI experience.
I'm having a problem with persistence on dialogs and windows created with wxCrafter on Linux. Although a .test config file is being generated correctly, the windows are not restoring to the right size. I seem to remember there was something extra needed to get the instance registered, but can't remember it. Can anyone help?
dghart
@dghart
@iwbnwif Welcome back. When you say "the windows are not restoring to the right size", do you mean in your code, or the CodeLite dialogs etc?
If your code, maybe you need to use something like Plugin/windowattrmanager.h
If CodeLite, that is probably an intentional change made by eranif (I forget why).
iwbnwif
@iwbnwif
Thank you! Sorry for not being clear - it is in my code that is the problem (I haven't noticed in Codelite yet). I think wxWidgets has been buggy regarding persistence and Ubuntu Unity previously, but there have been some changes in the last year that look to have fixed that. The reason why am asking here is because I have one applet that works and one that doesn't and I cannot for the life of me find any difference.
The only point I have got to is that I regenerated the wxCrafter (running man in wxCrafter) output on the one that doesn't. I vaguely remember previously needing to set a name or something inside wxCrafter so that each instance (even a singleton) is uniquely identified. But this all seems to be okay. I have been debugging step by step to try to work this one out, but no luck so far and wanted to check if I am missing something obvious.
iwbnwif
@iwbnwif
Okay, I think I have worked out what is going on. wxCrafter generates some code: if(GetSizer()) {GetSizer()->Fit(this);} The ::Fit method was changed about 11 months ago in 921edd2 to add a ::FitOnShow method which is temporarily bound to wxEVT_SHOW . Because the show event occurs after the persistence ::Restore, the stored size is overwritten by the ::Fit method.
The reason why it was causing a problem on some dialogs but not others is because I was binding wxEVT_SHOW to my own method in those that were unaffected.
iwbnwif
@iwbnwif
So, my next challenge is to get code completion working :) I have read through the recent messages on the forum but they don't help in my case. The first symptom is that a lot of false errors are shown (red arrow in margin). The errors seem to be caused by the parser thinking that everything (including my functions and wxWidgets functions) are prefixed by std::, which of course they are not.
The code completion window does appear, but the suggestions are not related to the (for example) methods available for a particular class.
iwbnwif
@iwbnwif
If I untick "Enable Language Server Completion", then auto completion does work, but I guess this is the old fallback method. libncurses.so.5 is installed and clangd is running.
dghart
@dghart
@iwbnwif What CodeLite version is this? There were LSP improvements in 15.01
dghart
@dghart
Also, is this an old workspace/project? If so, test with a fresh one.
That's because the old one may have the old bundled clangd binary and supporting libs inside it, which will cause (at least) confusion.
iwbnwif
@iwbnwif
@dghart Hi - thank you for those tips. The version is the one from the Codelite repo 'deb https://repos.codelite.org/ubuntu/ focal universe'. And yes, it is an old workspace / project, but I did try previously with a completely new workspace / project and also deleted .codelite but the result was the same. Having said that, I am not sure that I did both at the same time - so maybe there is some cross over. I will try a bit more and also make sure I have 15.01. Thanks again!
iwbnwif
@iwbnwif
@dghart I currently have 15.0.0 so I will upgrade. I think this means compiling from source, so it may be a few days before I am able to do that.
iwbnwif
@iwbnwif
Mystery solved! I had mistyped an update-alternatives command so clangd was pointing to clang and "Restart Language Servers" was silently failing. Code completion is working nicely now.
dghart
@dghart
:)
Noel Grandin
@grandinj
is there still a weekly build for macOS somewhere?
dghart
@dghart
@grandinj They are listed at https://downloads.codelite.org/ReleaseArchive.php
However there hasn't yet been an 'official' weekly release for the 15.x series, so 15.0 is still the latest.
Noel Grandin
@grandinj
thanks @dghart