diff --git a/doc/geany.html b/doc/geany.html index f1d3c0bb..5f7f7a23 100644 --- a/doc/geany.html +++ b/doc/geany.html @@ -264,260 +264,267 @@ of this program, and also in the chapter Workspace tags
The Pipe-separated format is easier to read and write. There is one tag per line and different tag attributes are separated by the pipe character (|). A line looks like:
@@ -2016,8 +2025,9 @@ empty but the pipe separator must appear for them. Just save them in your tags directory, as described earlier in the section Global tags.You can generate your own global tags files by parsing a list of source files. The command is:
@@ -2039,10 +2049,13 @@ don't want to specify the CFLAGS environment variable.geany -g wxd.d.tags /home/username/wxd/wx/*.d-Generating C/C++ tag files:
-For C/C++ tag files, gcc and grep are required, so that header files -can be preprocessed to include any other headers they depend upon.
-For C/C++ files, the environment variable CFLAGS should be set with +
++Generating C/C++ tag files
+You may need to first setup the C ignore.tags file.
+For C/C++ tag files gcc is required by default, so that header files +can be preprocessed to include any other headers they depend upon. If +you do not want this, use the -P option described above.
+For preprocessing, the environment variable CFLAGS should be set with appropriate -I/path include paths. The following example works with the bash shell, generating tags for the GnomeUI library:
@@ -2051,27 +2064,18 @@ CFLAGS=`pkg-config --cflags libgnomeui-2.0` geany -g gnomeui.c.tags \You can adapt this command to use CFLAGS and header files appropriate for whichever libraries you want.
-Replacing the default C/C++ tags file:
-Geany currently uses a default global tags file c99.tags for -C and C++, commonly installed in /usr/share/geany. This file can -be replaced with one containing tags parsed from a different set -of header files. When Geany is next started, your custom tags file -will be loaded instead of the default c99.tags. You should keep a -copy of the generated tags file because it will get overwritten when -upgrading Geany.
-Generating tag files on Windows:
-This works basically the same as on other platforms but you need to make -sure you have grep installed and Geany can find it, i.e. it must be -in the PATH environment variable. To test this, open a console window -and type grep and see whether it is executed. -If it is, then you can create a tags file like the following:
++Generating tag files on Windows
+This works basically the same as on other platforms:
"c:\program files\geany\bin\geany" -g c:\mytags.php.tags c:\code\somefile.php
You can ignore certain tags for C-based languages if they would lead to wrong parsing of the code. Use the Tools->Configuration Files->ignore.tags menu item to open the user ignore.tags file. @@ -2105,7 +2109,7 @@ Exuberant Ctags.
You may adjust Geany's settings using the Edit --> Preferences dialog. Any changes you make there can be applied by hitting either the Apply or the OK button. These settings will persist between Geany @@ -2122,10 +2126,10 @@ when restarting Geany.
comes after the screenshot of that tab.Affects the main toolbar underneath the menu bar.
See Indentation for more information.
Geany can automatically insert a closing bracket and quote characters when you open them. For instance, you type a ( and Geany will automatically insert ). With the following options, you can define for which @@ -2508,11 +2512,11 @@ characters this should work.
This is for visual elements displayed in the editor window.
The long line marker helps to indicate overly-long lines, or as a hint to the user for when to break the line.
Virtual space is space beyond the end of each line. The cursor may be moved into virtual space but no real space will be added to the document until there is some text typed or some other @@ -2578,10 +2582,10 @@ text insertion command is used.
Perform formatting operations when a document is saved. These can each be undone with the Undo command.
This data is used as meta data for various template text to insert into a document, such as the file header. You only need to set fields that you want to use in your template files.
There are some commands listed in the keybinding dialog that are not, by default, bound to a key combination, and may not be available as a menu item.
@@ -2722,7 +2726,7 @@ bound to a key combination, and may not be available as a menu item.Rarely used preferences, explained in the table below. A few of them require restart to take effect, and a few other will only affect newly opened or created @@ -3020,11 +3024,11 @@ execute section of the Build menu.
The extract_filetype_regex has the default value GEANY_DEFAULT_FILETYPE_REGEX.
See also: Virtual terminal emulator widget (VTE).
Project management is optional in Geany. Currently it can be used for:
The project menu items are detailed below.
To create a new project, fill in the Name field. By default this will setup a new project file ~/projects/name.geany. Usually it's best to store all your project files in the same directory (they are @@ -3091,7 +3095,7 @@ can safely be set to any existing path -- it will not touch the file structure contained in it.
You can set an optional description for the project. Currently it's only used for a template wildcard - see Template wildcards.
The Base path field is used as the directory to run the Build menu commands. @@ -3103,7 +3107,7 @@ project, which can be used in the Indentation settings.
The Open command displays a standard file chooser, starting in ~/projects. Choose a project file named with the .geany extension.
@@ -3111,14 +3115,14 @@ extension. open files and open the session files associated with the project.Project file settings are saved when the project is closed.
When project session support is enabled, Geany will close the project session files and open any previously closed default session files.
Indicators are red squiggly underlines which are used to highlight errors which occurred while compiling the current file. So you can easily see where your code failed to compile. You can remove them by @@ -3154,7 +3158,7 @@ selecting Remove Error Indicators in the Document menu.
preferences.This is similar to running 'Make' but you will be prompted for the make target name to be passed to the Make tool. For example, typing 'clean' in the dialog prompt will run "make clean".
Make object will run "make current_file.o" in the same directory as the current file, using the filename for 'current_file'. It is useful for building just the current file without building the whole project.
The previous error item will move to the previous detected error in the file.
Execute will run the corresponding executable file, shell script or interpreted script in a terminal window. Note that the Terminal tool path must be correctly set in the Tools tab of the Preferences dialog - @@ -3236,7 +3240,7 @@ output from the program before the terminal window is closed.
When there is a running program, the Execute menu item in the menu and the Run button in the toolbar each become a stop button so you can stop the current running program (and @@ -3245,7 +3249,7 @@ any child processes). This works by sending the SIGQUIT signal to the process. cannot be stopped. For example this can happen when the process creates more than one child process.
Xterm is known to work properly. If you are using "Terminal" (the terminal program of Xfce), you should add the command line option --disable-server otherwise the started process cannot be @@ -3254,7 +3258,7 @@ tab in the terminal field.
By default Compile, Build and Execute are fairly basic commands. You may wish to customise them using Set Build Commands.
E.g. for C you can add any include paths and compile flags for the @@ -3263,7 +3267,7 @@ arguments you want to use when running Execute.
Since Geany 0.13 there has been printing support using GTK's printing API. The printed page(s) will look nearly the same as on your screen in Geany. Additionally, there are some options to modify the printed page(s).
@@ -3551,7 +3555,7 @@ command line). gtklp or similar programs can be used.Plugins are loaded at startup, if the Enable plugin support general preference is set. There is also a command-line option, -p, which prevents plugins being loaded. Plugins are scanned in @@ -3567,7 +3571,7 @@ the following directories:
See also Plugin documentation for information about single plugins which are included in Geany.
The Plugin Manager dialog lets you choose which plugins should be loaded at startup. You can also load and unload plugins on the fly using this dialog. Once you click the checkbox for a specific plugin @@ -3578,13 +3582,13 @@ provides any.
Geany supports the default keyboard shortcuts for the Scintilla editing widget. For a list of these commands, see Scintilla keyboard commands. The Scintilla keyboard shortcuts will be overridden by any custom keybindings with the same keyboard shortcut.
There are some non-configurable bindings to switch between documents, listed below. These can also be overridden by custom keybindings.
The {command:} wildcard is a special one because it can execute a specified command and put the command's output (stdout) into the template.
@@ -5751,14 +5755,14 @@ standard error and in the Help->Debug Messages dialog.You can add, remove and reorder the elements in the toolbar by using the toolbar editor, or by manually editing the configuration file ui_toolbar.xml.
The toolbar editor can be opened from the preferences editor on the Toolbar tab or by right-clicking on the toolbar itself and choosing it from the menu.
To override the system-wide configuration file, copy it to your user configuration directory (see Configuration file paths).
For example:
@@ -5780,7 +5784,7 @@ will be used instead.