tm1, in Eclipse Luna 4.4.2 on Win 7 x64, editing values โโalways shows empty entries here. Perhaps behavior has changed lately.
Ray, apologized for not having enough reputation to answer your answer directly. I must say, I liked your idea to expand, I hope you do not mind.
${system_path:cmd.exe} used for the location, since it is not locked to drive C :.
The following was compiled for the arguments. Please note that it contains 160 decimal places for even text placement.
/c echo build_files:รกรกรกรกรกรกรกรกรกรกรกรก${build_files}&echo build_type:รกรกรกรกรกรกรกรกรกรกรกรกรก${build_type}&echo config_description:รกรกรกรกรก${config_description:${project_name}}&echo config_name:รกรกรกรกรกรกรกรกรกรกรกรก${config_name:${project_name}}&echo container_loc:รกรกรกรกรกรกรกรกรกรก${container_loc}&echo container_name:รกรกรกรกรกรกรกรกรก${container_name}&echo container_path:รกรกรกรกรกรกรกรกรก${container_path}&echo current_date:รกรกรกรกรกรกรกรกรกรกรก${current_date}&echo eclipse_home:รกรกรกรกรกรกรกรกรกรกรก${eclipse_home}&echo env_var:^%windir^%รกรกรกรกรกรกรกรก${env_var:windir}&echo git_branch:รกรกรกรกรกรกรกรกรกรกรกรกรก${git_branch}&echo git_dir:รกรกรกรกรกรกรกรกรกรกรกรกรกรกรกรก${git_dir}&echo git_repo_relative_path:รก${git_repo_relative_path}&echo git_work_tree:รกรกรกรกรกรกรกรกรกรก${git_work_tree}&echo project_loc:รกรกรกรกรกรกรกรกรกรกรกรก${project_loc}&echo project_name:รกรกรกรกรกรกรกรกรกรกรก${project_name}&echo project_path:รกรกรกรกรกรกรกรกรกรกรก${project_path}&echo resource_loc:รกรกรกรกรกรกรกรกรกรกรก${resource_loc}&echo resource_name:รกรกรกรกรกรกรกรกรกรก${resource_name}&echo resource_path:รกรกรกรกรกรกรกรกรกรก${resource_path}&echo selected_resource_loc:รกรก${selected_resource_loc}&echo selected_resource_name:รก${selected_resource_name}&echo selected_resource_path:รก${selected_resource_path}&echo system:ARCH:รกรกรกรกรกรกรกรกรกรกรกรก${system:ARCH}&echo system:ECLIPSE_HOME:รกรกรกรก${system:ECLIPSE_HOME}&echo system:NL:รกรกรกรกรกรกรกรกรกรกรกรกรกรก${system:NL}&echo system:OS:รกรกรกรกรกรกรกรกรกรกรกรกรกรก${system:OS}&echo system:WS:รกรกรกรกรกรกรกรกรกรกรกรกรกรก${system:WS}&echo system_path:cmd.exeรกรกรกรกรก${system_path:cmd.exe}&echo system_property:upTime:รก${system_property:eclipse.startTime}&echo workspace_loc:รกรกรกรกรกรกรกรกรกรก${workspace_loc}
The result is as follows:

A few notes:
- The source file must be open in the editor and active in order for it to work.
- Recursion variable supported:
${config_name:${project_name}} - I could not get
${build_project} or ${cdt_pathentry_var} to do much. - Interestingly, Eclipse reports my architecture as x86_64, but the OS as x86.
${system_property:eclipse.startTime} is a great way to access some of the "hidden" internal properties of Eclipse. There is a complete list of available commands at help.eclipse.org in the Links, Other Links, Execution Options section here .
source share