You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Existing folder you want to create the file. (If the folder doesn't exist you can create it from with the editor).
5
+
* Eclipse IDE (can be installed in your devonfw environment).
6
+
7
+
=== Creating <%= fileName; %> in the Eclipse IDE
8
+
9
+
Create <%= fileName; %> in the Eclipse IDE<% if(content) { %> and insert the following data into it<% } %>.
10
+
11
+
First, you have to load the project directory into Eclipse by going into the *File* context menu in the top left corner and select *Open Projects from File System...*. Eclipse opens a *Import Projects from File System or Archive* window, where you should specify your directory by selecting the *Directory...* button and choosing `<%= filePath;%>` in the Windows file explorer window and confirm the choice with the *Finish* button.
12
+
Opening a new file can be done by going to the *File* context menu again and select *New* or use the keyboard shortcut alt+shift+n and a dropdown menu will be opened where you have to select *File*.
13
+
Eclipse opens a *Create New File* window. Select the parent folder you want to save the file into. Insert `<%= parentFolder; %>` at the top text field named *enter or select the parent folder*. If the directory does not exist, create the missing folders or run through the previous steps from the wiki again.
14
+
Also, a name for the file is needed, so you can insert `<%= fileName; %>` in the text field *File name* or type it yourself.
15
+
Confirm your inputs with the *Finish* button in the bottom right corner and an empty <%= fileName; %> has been created and can be edited.<% if(content) { %>
16
+
Copy the following text.
17
+
[source, <%= fileType; %>]
18
+
----
19
+
<%- content; %>
20
+
----
21
+
Now insert the copied text into the new file. <% } %>
22
+
The final step is to save the file by selecting *Save* in the file context menu or by using the keyboard shortcut ctrl+s and <%= fileName; %> has been created <% if(content){%>with the data from above<% }%>.
* Existing folder you want to create the file. (If the folder doesn't exist you can create it from with the editor).
5
+
* Any Editor that can edit files
6
+
7
+
=== Creating <%= fileName; %> in any Editor
8
+
9
+
Create <%= fileName; %> in any Editor<% if(content) { %> and insert the following data into it. <% } %>.
10
+
11
+
Opening a new file can be done by going to the file context menu in the top left corner of the editor and select *New* or *New File* or mostly also the keyboard shortcut ctrl+n will also work.
12
+
The editor opens a new editor window for an untitled file that can be edited now.
13
+
<% if(content) { %>
14
+
Copy the following text.
15
+
[source, <%= fileType; %>]
16
+
----
17
+
<%- content; %>
18
+
----
19
+
Now insert the copied text into the new file.
20
+
<% } %>
21
+
The next step is to save the file by selecting *Save* or *Save as* in the file context menu or by using the keyboard shortcut ctrl+s.
22
+
A file explorer window opens.
23
+
You should check if you are currently in the right directory where you want to save *<%= filePath; %>/<%= fileName;%>*.
24
+
Select the directory `<%= filePath; %>`. If the directory does not exist, create the missing folders or run through the previous steps from the wiki again.
25
+
To save the file specify the name of the file. Paste `<%= fileName; %>` in the text field *File name:*.
26
+
The last step is to save the file with the *Save* button in the bottom right corner and <%= fileName; %> has been created<% if(content) { %> and filled with some data<%} %>.
0 commit comments