Editing code files The Code Editor contains basic and smart functionality for creating the code that drives your applications. Code Editor basicsThe active document is displayed in the Document workspace. If this document is a code document, such as a .4gl file, the Code Editor functions are active.Smart editing - indenting, tabs, and backspaceCode Editor has smart editing features for indenting, tabs, and backspace.Format and IndentWith certain files, you can instruct Code Editor to format and indent the files, based on preferences defined in Genero Studio.Qualify ImportsUse the Qualify Imports tool to reformat .4gl source modules to automatically add module prefixes to all imported symbols that are not yet qualified.Fix CaseUse the Fix Case tool to make all symbol names match their definition exactly. For example, if a variable was initially defined as custID, then all instances of custid and CUSTID are changed to match the definition.Mark Host VariablesUse the Mark Host Variables tool to add a $ (dollar sign) prefix before all program variables used in static SQL statements.BookmarksBookmarks provide quick access to areas of a document.Auto completion (Ctrl-Space)The auto complete feature helps complete a line of code or prompts for a valid keyword in the syntax.Code templates (Ctrl-T)Code templates are snippets of frequently used code elements available to insert into the code to avoid repetitive typing and speed up coding. Split a documentSplitting the document view allows you to see different parts of a long document at the same time.Search and replaceThe search functionality in Code Editor includes wildcards, regular expressions, and function search.