Giter Site home page Giter Site logo

eranif / codelite Goto Github PK

View Code? Open in Web Editor NEW
2.1K 2.1K 446.0 583.97 MB

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++

Home Page: https://codelite.org

License: GNU General Public License v2.0

C++ 89.00% CMake 0.58% C 1.56% Shell 0.07% Inno Setup 0.02% Makefile 0.19% Python 0.57% HTML 0.64% PHP 6.72% Batchfile 0.02% Lex 0.29% Yacc 0.31% Roff 0.01% CSS 0.01% JavaScript 0.02% Starlark 0.01%
cross-platform linux macos windows

codelite's People

Contributors

ajenbo avatar alexpux avatar alukreis avatar assp1r1n3 avatar aviallon avatar carlo-bramini avatar chaddcw avatar devjpcb avatar dghart avatar eranif avatar ferreus avatar frankivo avatar gsmcmullin avatar ihardrock avatar ilius avatar jarod42 avatar jcowgill avatar jgmdev avatar kekepower avatar liuanlin-mx avatar lukebelliott avatar lukester1975 avatar maartenbent avatar michalbliznak avatar nghiaho12 avatar rlbxku1r avatar rozhuk-im avatar stahta01 avatar stefanobelloni avatar uffejakobsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codelite's Issues

Smart indent not placing closing brace under opening brace

Smart indentation is always indenting closing braces with one tab more than it should:
If you write:

if (whatever)
{}

Then if you press between opening and closing brace:

if (whatever)
{[ENTER]}

Result is:

if (whatever)
{
[TAB]}

I would prefer smart indent to use my settings from code formatter plug-in. Why not use astyle to format code as you type? Maybe you use astyle but the context is too small?

Unrecognized error patterns

Message "undefined reference to" produced by a linker is not correctly recognized as an build error so CL informs user that there are no errors and thus he could get confused. You can reproduce the bug in this way: add for example getch() function to C code without including <conio.h> header and build the project.

code completion constructor tooltips

it looks like the tooltips for constructors of local objects are not working.

e.g.

class Foobar{
Foobar();
Foobar(float, int);
~Foobar();
}

.. main(..)
{
Foobar foo(...no tooltip pops up);
}

if you create objects on heap using a pointer it works:

class Foobar{
Foobar();
Foobar(float, int);
~Foobar();
}

.. main(..)
{
Foobar* foo = new Foobar(tooltip pops up);
}

use "this"-tag for other structs f.e. in C language

Hi,

is it possible to get the autocompletion for the keyword "this" in a program written in C ?
f.e.

void stupid_func( struct coolstruct * this ){

    this->coolness = 5 ;
    this->stupidity = 0xff;
}

is there a way to get the completion for the structure from "this"

minor problem with keyboard shortcut setting

Thanks for the wonderful tool, it has been my favorite in ubuntu for cpp developing.
Changing to v5.0.6213 is great, but there is a very minor problem for me to set up the "show abbreviation" shortcut, I tried to set it to "Ctrl+/", but it does not work. I am using ubuntu precise 12.04, it used to work well in V4.1. If you have time please take a look it, of course it is not a big deal, might just be my system problem, I am not sure though.
Thanks again for the effort!!!

Console Input not interactively passed to application

Hi Eran,

In the debug output console I can't seem to enter anything and have it passed to the application I'm debugging.
This is really bad as I do have a text menu driven application I need to debug.

A solution might be to have a choice how to debug (Kdbg does that):

  1. Application has no input -> as is, output in debug view
  2. Application needs interactive input -> open in a standard shell (xterm?) like it did before and does when I run the app normally.

incompatible with ibus, invisible key break normal input

OS : Fedora 16 x86_64 English, all component is up-to-date.
codelite: 5375

there is 3 group key on keyboard:
A. visible-key: a-z,0-9, Punctuation
B. invisible-key: Tab, Backspace, four arrow(left, etc), Insert, Delete, Home, End, PgUp, PgDn, Esc
C. control-key: Ctrl, Alt, Shift, Menu

while ibus is on(enable ibus in "Input Method Selector"):
1. after you press any [B. invisible-key], the input is broken, you cannot input any [A. visible-key] anymore. But invisible-key and control-key can input.break visible key input.
2. after normal input is broken, press any [C. control-key] can drag back temporarily, you can input all keys.

wrong file focus if multiple projects have the same file

For example,
If there are more than one projects in the workspace and if Proj 1 and Proj 2 contains the same file, like this

-Foo
-- FooExe
--- foo.c
-- FooDll
--- foo.c

When double-click on foo.c in FooDll, the workspace view give the focus to foo.c in FooExe.

Goto declaration problem

Code:

01 class pippo
02 {
03 public:
04 pippo();
05 pippo(int a){m_c = a;};
06 pippo(char pp){m_c = 0;};
07 clear(){m_c = 0;};
08 private:
09 int m_c;
10 };
11
12 pippo objNone("hello");
13 pippo objOk;
14
15 int main(int argc, char *argv)
16 {
17 objNone.clear();
18 objOk.pippo(NULL);
19
20 return 0;
21 }

If I position the caret on the "objOk" then "Goto Declaration", the caret goto line 13 ("pippo objOk").
If I position the caret on the "objNone" then "Goto Declaration" don't work. The problem seems to be the object declaration (string in costructor).
best regards,
Generoso

Option not work at "Find in File.." dialog

It seems no different between the search result when I enable or disable the "Use different colour for matches found in comments" option. The matches text's colour is still in black.

Pause when execution ends does not work in many cases

I have checked "Pause when execution ends" so that I can still see the output of the application after it exits. This works fine when I execute the application normally.

Unfortunately, this option does not work when using a debugger - the console closes immediately when the application exits.

I work around this by setting breakpoints at the end of main, in exit() and in abort(), but this is a little annoying.
My preferred solution to this issue would be a built-in output tab like in Eclipse - since selecting/copying and searching is quite limited anyway when running in cmd.exe, and also cmd.exe has very small scrollback and I don't see how to increase it to a reasonable size (some of my applications produce quite a bit of logging)

Next Build Error does not jump to first error

Codelite version: 3.5.5378
OS: Ubuntu 10.04 LTS

  1. create a new workspace
  2. create a new c++ console project
  3. use this source code.

include <stdio.h>

int main(int argc, char **argv)
{
bool isBool = falsde;
printf("hello world %d\n", isBool);
return 0;
}

  1. compile it. build output will show 1 error. Go to Build -> Next Build Error
  2. it is expected that the cursor jump to the line with error; but this does not happen

Next Build error seems to work in other cases; it looks like that only the first error is being skipped.

request: global change bg color & font

It would be very helpful if there was a single method to globally change the background color and font for ALL styles at once. It is very tedious to visit every style to set these to your preference.

As noted in another bug I just added, globally changing the bg color should likely not change 'text selection' and others like it.

Strange text splatting

Ver: v. 3.5.5375
OS: Ubuntu 11.10

When the clipboard buffer is full of text, this text then seems to get (seemingly) randomly pasted around my source code.
I haven't been able to pin down exactly when this is happening, other than it seems to occur when I alt-tab to other programs.

Thank you.

V5.3 Find in Files not working.

Under Linux, use the explorer view in Codelite to navigate to a directory. Right click in the tree and choose Search... the Find in files dialog "Look in:" field does not contain the directory that was right clicked but rather contains the parent of the clicked subdirectory.
More importantly, the search takes about 100X longer than version 5.2 did under same test conditions. I haven't been able to pinpoint it but it appears that the File Mask may not be applied to the search.

Delete the folding line

Folding a function in C source code.
Select the range from the function name line to the underline line.
Press "Delete" key to delete source code.
[Problem 1] Line number is not be updated.
[Problem 2] The source attempted to delete still can be found by [Find in Files..].
[Problem 3] The source attempted to delete still exist in file.

Goto declaration don't work on function parameter

The features, include [Goto implementation], [Goto declaration] and [Find reference], won't work if the variables are declaration at function parameters, but they work fine on the local, global variables or preprocessors.
As the following sample code, [goto declaration] doesn't work on "para", and [Find reference] will find 0 result.

void hellofunction(int para)
{
para = 0;
}

Supplying man page integration for auto-complete

screenshot from 2012-10-26 10-40-56

You known, while coding, developer always don't want leave the favorite IDE. So,
why I need to launch a external tool for the API man page?
The idea is brought from other high level language, such java for Javadoc, and Eclipse and NetBeans all have implemented it.
See the Netbeans' screenshot:

  • triggered by auto-complete
  • the call tip/function signature showing up, along with
  • the man page float window
    Thanks,
    Pprun

Cppcheck does not take include path into account

One of my file contains the line

#include "qdiilog.hpp"

And the compiler includes list contains a path to this file. Compilation works.
However, cppcheck complains about the file not being accessible

:: information: Cppcheck cannot find all the include files (use --check-config for details)

sizing the output pane

It is not possible to size the output pane under a certain limit.
You can select the border an drag it downwards,
but it is not possible to change the vertical size to minimum.
This is for version 2.5.2.4031.

Renaming files is case-insensitive

When renaming a file to the same filename with different case, it will not be renamed. Furthermore you get warned. It's pretty inconvenient...

makeDirStep Error while building a VC++ project

CodeLite 2.7.0.4375 + VC2008 express.
While I try to build something, I got this error:

----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 1 -f "helloragel_wsp.mk""
----------Building project:[ hragel - Debug ]----------
mingw32-make.exe[1]: Entering directory E:/cpp/helloragel' 'makedir' is not recognized as an internal or external command, operable program or batch file. mingw32-make.exe[1]: *** [makeDirStep] Error 1 mingw32-make.exe[1]: Leaving directoryE:/cpp/helloragel'
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings

I think the command "makedir" should be "mkdir" or "md".

Please fix it.
Thanks

Back to the line of the code after closing one tab

Describing the steps:

  1. ctrl+click one lib function
  2. a new tab open for the file contains the funciton
  3. after read enough info, closing the new tab
  4. where do we back?
  • cuurently, the tab near the closed new tag opened
  • expected back to the tab and the line while ctrl+click
    I just moved from other IDE and after evaluated a new C IDE on linux several days, I'm stopping at Codelite.
    Eran, thank you for bringing the excellent ide for us.
    I have filed servel RFEs and hope they will help for Codelite's evolution.
    Pprun

Cppcheck does not take include path into account

One of my file contains the line

#include "qdiilog.hpp"

And the compiler includes list contains a path to this file. Compilation works.

However, cppcheck complains about the file not being accessible

:: information: Cppcheck cannot find all the include files (use --check-config for details)

Revision mark in margin - 2

For CodeLite 2.9.0 on Ubuntu 10.10

  1. Select a piece of text of an newly opened document.
  2. Replace in the select lines some word with the "Find / replace" dialog box.
  3. The revision marks drawn in orange tag all of the selected lines instead of the modified lines.

Wanna pkgconfig link library setting UI

It would be helpful to supply a UI to select the pkgconfig library at project setting dialog.
See NetBeans Idea in the attached screenshot:

  • project setting
  • link libraries
  • in libraries options dialog (dependency)
    -- add project
    -- add standard library
    -- add pkgconfig library
    -- add libary
    -- add library file
    ...
    click the add pkgconfig library
    -- the dialog lists all registered pkgconfig libraries for selecting
    pkgconfig

enum class last value not in code completion

enum class MyEnum{
A
,B
,C
};

When I type MyEnum:: only A and B show up. the inner format is irrelevant, it can be one line or commas at end of lines etc...
adding a comma at the end will work, but is not correct c++ (g++ will tell you this with -pedantic: "warning: comma at end of enumerator list [-pedantic]")

wrong file focus if multiple projects have the same file

For example,

If there are more than one projects in the workspace and if Proj 1 and Proj 2 contains the same file, like this

-Foo
-- FooExe
--- foo.c
-- FooDll
--- foo.c

When double-click on foo.c in FooDll, the workspace view give the focus to foo.c in FooExe.

Wrong goto in tasks links

After searching a TODO's via Tasks Pane some links to source code are not correctly points to source. Link was found at line 836 but every time I clicking on link cursor gets at line #755. Fits link to line #82 on screenshot works correctly.

Code completion dialog not context aware

I am using the latest build of CodeLite v2.9.0.4684
I have the code completion dialog to popup automatically however, it is not context aware if I can put it like that.
The code completion dialog will popup when it really shouldn't.

If I am creating a struct type (as I happened to do) the code completion dialog will popup with the closest match and will replace my identifier with the closest match from the code completion dialog. This is somewhat annoying since I like to place my open curly brace on the next line and I have to first escape the dialog before pressing the enter key.

I guess a simple fix would be to complete the word only by pressing tab, or mouse clicking on the match.

Workspace and project files not updated when read only.

Workspace and project files are not updated when read only. A dialog should pop up to allow overriding the read only attribute like it currently does for cpp and h files so they can be saved at program exit.

Does the menu item to save all files save the workspace and project files? It doesn't complain when I use it to try to save read only workspace and project files.

Highlighting in wrong place.

When beginning the parentheses of a function call, the highlighting for the current argument is highleted in the wrong place. In addition, the text is cut off. I am using Arch Linux with XMonad. My GTK theme is Raleigh, with GTK font being DejaVu Sans Semi-Condensed 6.

CodeLite Crashes on Win7 after loading workspace

The problem is in CodeLite crashing.

  1. I created a workspace and two projects. Then saved all and closed CodeLite.
  2. I made a PC reboot. Started CodeLite... All is OK (a week ago crashing appeared in this time, after reboot).
  3. After one day I turn on the PC. Started CodeLite and get an application crash. And now every time I run CodeLite it loads my workspace with projects and crashes.

CrashInfo (russian)
Сигнатура проблемы:
Имя события проблемы: APPCRASH
Имя приложения: CodeLite.exe
Версия приложения: 0.0.0.0
Отметка времени приложения: 4efc11e1
Имя модуля с ошибкой: StackHash_237c
Версия модуля с ошибкой: 0.0.0.0
Отметка времени модуля с ошибкой: 00000000
Код исключения: 80000026
Смещение исключения: 00000000
Версия ОС: 6.1.7601.2.1.0.256.48
Код языка: 1049
Дополнительные сведения 1: 237c
Дополнительные сведения 2: 237c47c74555cd59ead806db781e73b6
Дополнительные сведения 3: ca66
Дополнительные сведения 4: ca6602a0b04906448f6dbfe99253a332

CodeLite 3.5.5377
Windows 7 x86 SP1
No antiviruses installed

Please, fix it. I can't use this great IDE because of this problem.

Goto Declaration does not work with "=MACRO_NAME" construct

In the following code "Goto Declaration" and "Goto Implementation" functions do not work with EPON_ONU_TYPE_NTE2 symbol. If I add space character between "=" and "EPON_ONU_TYPE_NTE2" these functions work fine. CScope works in both cases.

#define CONF_ENUM_LIST_ONU_TYPE {\
{.val=0, .name=""},\
{.val=EPON_ONU_TYPE_NTE2,         .name="NTE-2"},\

Unhelpful error message when file is missing

At compilation, if a file is missing, you get a unhelpful

make: *** [All] Error 2

and nothing else. I would like to see which file is missing. Missing files are common, figure you 'svn up' and someone remotely deleted a file - you need to remove it in the CodeLite project too.

Search result links get confused when code is folded

Fold all code in a large source file ( View -> Toggle All Folds)
Do a global search for a keyword in that source file (ctrl+shift+F)
Click a search result
What happens is the search result just goes to the bottom of the file. It seems like the search result is trying to go to the original line number, and not taking in to consideration that there is folding.

General Feedback

Hi There.
Posed this on the sourceforge ratings thing, but thought it important enough to post here too.
I really like codelite so would love to see it developed further. Hence why posting this here.

I'd like to say that I believe codelite succeeds because it is a visual-studio clone for unix.
Many windows-based people who get dropped into unix development need an IDE which is as similar to visual studio as possible.
Its a productivity thing. And if codelite had that as its aim (which I think it does....), it could be really successful.

Many people in my workplace are ex-computer-game coders who are used to Visual Studio, and are suddenly dropped into Linux. We all go through a couple of weeks sorrow and trying other IDE's before finally settling on Eclipse. This is where I tried codelite but had to give up because of show stoppers.

Ok. Here are my showstoppers.

  1. CodeCompletion and GoToDefinition features were not working across namespaces correctly. This completely killed these must have features. Any large project has namespace stuff going on. Until this is fixed I cannot use codelite. :( It has to be Eclipse

  2. No "Windows" menu on the menu bar. Small deal but it is much faster/easier to navigate through your last ~10 opened files, than the tab groups thing. This is what visual studio users are used to. To really succeed at drawing visual studio lovers, codelite needs this.
    ( even as an option or something.... )

  3. General flakeyness with its code tagging. Clang had trouble parsing our codebase. And the only error I could get out of codelite was a simple " Expected 'bool', got '}' " style compiler error which gave no filename or linenumber. Impossible to do anything with on a large codebase. And that was only when I went to do some code completion stuff. It should've told me this stuff while tagging, or something....
    We need decent error reporting from the tagging so we can see where its breaking. ( on both clang and ctags )

Until these 3 things are fixed, I'll be going back to Eclipse. Although its interface is not as clean, simple or visual-studio-like, its generally more robust at handling+parsing large Makefile-based codebases. ( most large unix codeprojects are makefile based )

I'll finish by saying that although I had these problems. I REALLY LIKED codelite.
( If I could get the time I'd be happy to work on it myself. )
Brian

wxCrafter library not loaded

When starting CodeLite, wxCrafter.so is not loaded. The following error appears in ~/.codelite/codelite.log:

  [ 20:40:38:357 SYS ] Starting codelite...
  [ 20:40:39:363 ERR ] Failed to load plugin's dll: /usr/lib64/codelite/wxCrafter.so
  [ 20:40:39:363 ERR ] /usr/lib64/codelite/wxCrafter.so: symbol     _ZThn744_N14wxPropertyGrid5ClearEv, version WXU_3.0 not defined in file   libwx_gtk2u_propgrid-3.0.so.0 with link time reference
  [ 20:40:47:480 SYS ] Bye

More information:
CodeLite 5.4
wxCrafter 1.4
wxgtk 3.0.0-2
Arch Linux 3.12.7-2-ARCH

Editor bug after reloading modified files

If files have been modified externally, CL shows an information dialog.
The bug appears after closing this dialog: The code editor now selects text while the mouse is moved around. It seems that the problem stems from unprocessed mouse messages.
Isseu occurs on Windows, other OSes not tested yet.

ctrl click on header filename, mouse not working

When shift click on an header filename (in an include), a dialog box open to select the file to open, the mouse will not work (even to scroll, resize the window, close, cancel, move...) Have to select with the keyboard or esc to cancel.

Mac release build v3.5.5376 has stability issues

On my MacOSX 10.6.8 with 2 Gigs of RAM and Core 2 Duo, sometimes CodeLite freezes during the boot sequence. Also, when running a test code it freezes.

Since the bug is intermittent, I'll need some help to narrow it down.

Silent failure to save read-only projects/workspaces

I use Codelite on Linux (Redhat 6.2) 64 bit. All source file, including projects and workspaces, are managed by Perforce. If I don't check out files they are set to read-only mode by Perforce. Then if I change a project or a workspace Codelite silently fails to save my changes.

Little issue with "Type info tooltips"

Hi,
The v5 is very great, Codelite gets better every time.
This ticket is about a longstanding little issue with "Type info tooltips" which appears above pop-up windows because I think that the tooltips is already running when the mouse is on the word.
In many contexts :
When you hold "Ctrl" and right click for show the menu :
" Find symbol. Go to Delcaration. Go to Implementation ".
When you open the "Quick outline".
When you use "Code navigation" and you have the choice between some results.
v5.0.6213 LinuxMint14 64bits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.