Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: MoonKid on April 06, 2006, 01:56:19 pm
-
I write this...
wxArrayString as;
as.
On the '.' I want a list of all available members of wxArrayString. How can I get this?
-
enable Settings->Editor->Code-completion and class-browser->Parser(tab)->"Follow GLOBAL includes"
and be shure, that you've included #include <wx/wx.h> in your source files before.
enjoy :)
-
enable Settings->Editor->Code-completion
Ah understand. But it is not possible this time because my nightly crashes there.
But the problem is described in an other thread.
-
the latest nightly build should NOT crash 8)
or did i miss something ?
-
the latest nightly build should NOT crash 8)
Is it a ansi build? My latest ansi is from april 1th.
Any plans about a new ansi? ;)
-
yes the ansi version crashes when opening the Settings->Editor dialog if ANY plugin is activated,
i've no idea why this happens so don't expect any solution soon.
personally i use CB 1.0RC2 on my old Win98SE laptop ... 8) :x
-
as workaround you can enable it manually by editing your default.conf
This is not possible. There is no default.conf alive because C::B stores is config in the registry under Win98se.
-
I searched for it in the C::B dir.
There is no PARSER_FOLLOW_GLOBAL_INCLUDES in it.
-
I searched for it in the C::B dir.
Big ow!
You should not have a config file inside the Code::Blocks directory, unless you did that on purpose and you know what you are doing. Things like that can lead to a lot of confusion.
To explain further, under Windows, the application searches for a configuration file with the currently active profile's name (not necessarily default.conf) in the following locations:
- the configuration folder (C:\Windows\AppData\codeblocks or something similar)
- the data folder (CodeBlocksDir/share/codeblocks
- the folder containing the Code::Blocks executable
- the currently active user's "My Files" directory
If no profile was specified, then default.conf will be used. If a profile was specified but not found, it will be created. If no profile was specified and no default profile is found, it is created.
The reasoning behind this is to allow both user-specific profiles as well as pre-configured installations on read-only media such as CD-ROMs. As you can see, the settings stored in the executable folder will not be honoured if you have settings stored in the configuration folder (which will be the case if you have run Code::Blocks before). Thus, it may happen that you search in one file and make modifications, but strangely you never see any effect!
Therefore, best keep the files where Code::Blocks puts them, unless you really *need* to do it differently.
Under Linux, different locations are used, but similar rules apply.
-
Adding a bit of info, the configuration is usually to be found in these paths (in %AppData%):
* On Windows XP/2000
%AppData%\codeblocks\
* On Windows 9x/Me (if password protection is disabled)
C:\WINDOWS\Application Data\codeblocks\
* On Windows 9x/Me (if password protection is enabled)
C:\WINDOWS\Profiles\%USER%\Application Data\codeblocks\
* On Windows NT 4.x
C:\WINNT\Profiles\%USER%\Application Data\codeblocks\
* On Linux
~/.codeblocks/
* On Mac OS X
~/Library/codeblocks/
~/Library/Application Support/codeblocks/
%AppData% is a environmental variable which normally points to
C:\Documents and Settings\%USER%\Application Data on Windows 2000/XP.
-
i want to withdraw my proposal to edit something in any file,
obviously a well-meant tip produces more confusion than an unsolved issue ...
-
hopefully new ansi build this weekend ...
-
hi
right now my code completion works fine and shows me the possible completions. but when the code completion kicks in shouldnt the keyboard focus shift to the popup so that i can make my selection rather than remain on the main window or rather than steal focus can it not respond only to up down and enter keys(like vc) ? am i missing something or does some setting need to be made
cheers
nithin