Difference between revisions of "IDE Macros in paths and filenames/pt"

From Lazarus wiki
Jump to navigationJump to search
Line 10: Line 10:
 
* LazarusDir - diretório de fontes do Lazarus nas opções de ambiente
 
* LazarusDir - diretório de fontes do Lazarus nas opções de ambiente
 
* LCLWidgetType - widgetset da LCL do projeto atual
 
* LCLWidgetType - widgetset da LCL do projeto atual
* TargetCPU - Target CPU do projeto atual
+
* TargetCPU - target CPU do projeto atual
* TargetOS - Target OS do projeto atual
+
* TargetOS - target OS do projeto atual
* LanguageID - IDE language, for example en for english, de for german
+
* LanguageID - língua da IDE, por exemplo "en" para inglês ou "de" para alemão
* LanguageName - IDE language name, the translated name of the current language. For instance: Deutsch for german.
+
* LanguageName - nome da língua da IDE, o nome traduzido da língua atual. Por exemplo: "Deutsch" para alemão.
* Params - run parameters of the current project
+
* Params - parâmetros de execução do projeto atual.
* Prompt - ask the user for a value. This is an interactive macro.
+
* Prompt - pergunta ao usuário sobre algum valor. É uma macro interativa
* ProjFile - the full filename of the main source of the current project (.lpr)
+
* ProjFile - o nome coompleto do fonte principal do projeto atual (.lpr)
* ProjPath - the project directory (the directory of the .lpi file)
+
* ProjPath - o diretório do projeto (o diretório do arquivo .lpi)
* Save - save current file in source editor
+
* Save - salva o projeto atual do editor de código
* SaveAll - save all
+
* SaveAll - salva tudo
* TargetFile - the output file of the current project (e.g. the executable or the library)
+
* TargetFile - o arquivo de saída do projeto atual (por exemplo o executável ou a DLL )
* TargetCmdLine - the project executable plus run parameters
+
* TargetCmdLine - o executável do projeto mais os parâmetros de execução
* TestDir - Test directory set in the environment options
+
* TestDir - Diretório de teste configurado em Opções de Ambiente
* RunCmdLine - the command to launch the project
+
* RunCmdLine - o comando para carregar o arquivo
* ProjPublishDir - publishing directory of the current project
+
* ProjPublishDir - o diretório de publicação do projeto atual
* ProjUnitPath - unit path of project directory
+
* ProjUnitPath - caminho da unidade do diretório do projeto
* ProjIncPath - include path of project directory
+
* ProjIncPath - caminho de include do diretório do projeto
 
* ProjSrcPath - source path of project directory
 
* ProjSrcPath - source path of project directory
 
* ConfDir - directory where the IDE stores its config files
 
* ConfDir - directory where the IDE stores its config files

Revision as of 19:48, 3 May 2007

Deutsch (de) English (en) español (es) français (fr) português (pt) русский (ru)

  • Col - coluna atual no editor de código
  • Row - linha atual no editor de código
  • CompPath - caminho do compilador nas opções de ambiente
  • CurToken - dado atual no cursor do editor de código
  • EdFile - nome do arquivo atual no editor de código
  • ExeExt - extensão de arquivo do executável
  • FPCSrcDir - diretório de fontes do FPC nas opções de ambiente
  • LazarusDir - diretório de fontes do Lazarus nas opções de ambiente
  • LCLWidgetType - widgetset da LCL do projeto atual
  • TargetCPU - target CPU do projeto atual
  • TargetOS - target OS do projeto atual
  • LanguageID - língua da IDE, por exemplo "en" para inglês ou "de" para alemão
  • LanguageName - nome da língua da IDE, o nome traduzido da língua atual. Por exemplo: "Deutsch" para alemão.
  • Params - parâmetros de execução do projeto atual.
  • Prompt - pergunta ao usuário sobre algum valor. É uma macro interativa
  • ProjFile - o nome coompleto do fonte principal do projeto atual (.lpr)
  • ProjPath - o diretório do projeto (o diretório do arquivo .lpi)
  • Save - salva o projeto atual do editor de código
  • SaveAll - salva tudo
  • TargetFile - o arquivo de saída do projeto atual (por exemplo o executável ou a DLL )
  • TargetCmdLine - o executável do projeto mais os parâmetros de execução
  • TestDir - Diretório de teste configurado em Opções de Ambiente
  • RunCmdLine - o comando para carregar o arquivo
  • ProjPublishDir - o diretório de publicação do projeto atual
  • ProjUnitPath - caminho da unidade do diretório do projeto
  • ProjIncPath - caminho de include do diretório do projeto
  • ProjSrcPath - source path of project directory
  • ConfDir - directory where the IDE stores its config files
  • MakeExe - path to the 'make' program (gmake under BSD)
  • Project() - makro function for various values
    • Project(UnitPath) - unit path of project directory
    • Project(SrcPath) - source path of project directory
    • Project(IncPath) - include path of project directory
  • Ext() - macro function for ExtractFileExt
  • Path() - macro function for ExtractFilePath
  • Name() - macro function for ExtractFileName
  • NameOnly() - macro function for ExtractFileNameOnly
  • MakeDir() - macro function for AppendPathDelim
  • MakeFile() - macro function for ChompPathDelim
  • PkgDir() - macro function for the directory (location of the .lpk) of a package ID given as parameter
  • PkgSrcPath() - macro function for the source path of a package ID given as parameter
  • PkgUnitPath() - macro function for the unit path of a package ID given as parameter
  • PkgIncPath() - macro function for the include path of a package ID given as parameter