User forums > Nightly builds

The 26 October 2007 build (4564) is out.

<< < (4/6) > >>

Solarus:
It's working , thank you :) !

supperbond:
Can you develop a plug in to make the editor in cb work like the editor in eclipse??


I really like some funtions like class view and code auto completed in eclipse cdt. The class view in cb is to small and cannot use as fast as the cdt, and the code auto completed does not include the (),{}. That is to say, when I input "(" in cdt, then the cdt editor auto place "()", so I can input something easily in the braces. Then, when i finish, i just hit enter, the cursor auto move after "()". I try to find some ways to make the editor in cb act like cdt, but things seems to be impossible.

So, maybe a new plug in needed!

XayC:
While I totally agree with you on that fact that it would be nice to have these features, you probably don't know how much time, code and skill are required to write something like that.
In other words: don't expect it to be implemented soon.

Regards, XayC

Biplab:

--- Quote from: supperbond on October 31, 2007, 01:39:19 pm ---The class view in cb is to small and cannot use as fast as the cdt, and the code auto completed does not include the (),{}. That is to say, when I input "(" in cdt, then the cdt editor auto place "()", so I can input something easily in the braces. Then, when i finish, i just hit enter, the cursor auto move after "()". I try to find some ways to make the editor in cb act like cdt, but things seems to be impossible.

--- End quote ---

Have you tried Settings > Editor > Code-completion and symbols browser > Fill-up chars ? Add the (){} or whatever char you wish to start code-completion.

koza:
Hi.
I am a newbie to the Code::Blocks, so i don't know, if this should be characterized (and submitted) as a bug. I was trying to use custom build command and

had a trouble using custom variable as directory path when the variable value contained a space.
Code::Blocks 4564 win32

Settings->Compiler and Debugger settings->Custom Variables->Add

Key:TESTPATH
Value:C:\Program Files

After pressing OK, you can see the Value enclosed in the quotation marks: "C:\Program Files"
As I use the variable $(TESTPATH) anywhere, it is always replaced with "C:\Program Files" (including quotation marks)
which causes trouble when you want to use a custom build command (File->Properties->Advanced->Use custom command to build this file) ex. $(TESTPATH)\CustomBuilder\builder.exe will be in the compiler execution process replaced
with "C:\Program Files"\CustomBuilder\builder.exe failing to execute the desired tool

Of course, if i have spaces in the Value of a variable and i want to use that variable as a directory path, i have to enclose the final usage into quotation marks by myself (ex. "$(TESTPATH)\CustomBuilder\builder.exe" )

The only way, i could manage to execute the builder.exe in this example was to edit that custom variable (in the edit field, the value will be including the quotation marks) and delete the ending quotation mark leaving the value in form "C:\Program Files (deleting also the starting " will cause the new enclosure of the value with new pair of quotation marks) and after that editing the custom command and inserting one " only at the end ex. $(TESTPATH)\CustomBuilder\builder.exe"

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version