mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00

- add org.eclipse.cdt.debug.application plugin which supports running CDT debugger as Eclipse application - add org.eclipse.cdt.debug.application.docs plugin which is the modified CDT docs - add org.eclipse.cdt.debug.standalone-feature which bundles the two aforementioned plugins - add org.eclipse.cdt.debug.standlone.source-feature Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13 Reviewed-on: https://git.eclipse.org/r/25845 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
43 lines
1.6 KiB
HTML
Executable file
43 lines
1.6 KiB
HTML
Executable file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Toggle Function Definition Refactoring</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
</head>
|
|
<body>
|
|
<div role="main">
|
|
<h1>Toggle Function Definition</h1>
|
|
<p>
|
|
Use the <strong>Refactor > Toggle Function Definition</strong>
|
|
command to toggle the location where a function is defined.
|
|
</p>
|
|
<p>
|
|
In an Editor window, place the cursor inside a function declaration
|
|
or definition, then run <strong>Refactor > Toggle
|
|
Function Definition</strong> from the context menu. Any cursor position
|
|
between the first and the last characters of the function definition
|
|
(but not including comments preceding the function) will cause that
|
|
function to be selected for the refactoring.
|
|
</p>
|
|
<p>
|
|
<img alt="" src="../images/cdt_t_toggle_selection.png">
|
|
</p>
|
|
<p>This refactoring switches a function definition from a header
|
|
file to a correspondingly-named implementation file. If the necessary
|
|
file does not exist, it will be created (after a confirmation
|
|
dialog).</p>
|
|
<p>
|
|
<img alt="" src="../images/cdt_t_toggle_selection2.png">
|
|
</p>
|
|
<p>For methods, it can also switch the method from being defined
|
|
within its parent class declaration to being defined using an inline
|
|
definition in the same header file.</p>
|
|
<p>
|
|
<img alt="" src="../images/cdt_t_toggle_selection3.png">
|
|
</p>
|
|
<img src="../images/ng00_07.gif" ALT="IBM Copyright Statement">
|
|
</div>
|
|
</body>
|
|
</html>
|