Skip to content

Commit 060aba3

Browse files
author
jantje
committed
#630 also forces rebuild if compile commands have changed
1 parent b1dcfc7 commit 060aba3

File tree

8 files changed

+244
-156
lines changed

8 files changed

+244
-156
lines changed

io.sloeber.core/plugin.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
<tool
225225
announcement="%tool.Arduino.CPP.announcement"
226226
command="${A.RECIPE.CPP.O.PATTERN}"
227-
commandLinePattern="${A.RECIPE.CPP.O.PATTERN.1} ${FLAGS} -D__IN_ECLIPSE__=1 -x c++ ${INPUTS} ${A.RECIPE.CPP.O.PATTERN.2} ${OUTPUT} ${A.RECIPE.CPP.O.PATTERN.3} ${JANTJE.EXTRA.COMPILE} ${JANTJE.EXTRA.CPP.COMPILE}"
227+
commandLinePattern="${A.RECIPE.CPP.O.PATTERN.1} ${FLAGS} -D__IN_ECLIPSE__=1 -x c++ ${INPUTS} ${A.RECIPE.CPP.O.PATTERN.2} ${OUTPUT} ${A.RECIPE.CPP.O.PATTERN.3} ${JANTJE.EXTRA.COMPILE} ${JANTJE.EXTRA.CPP.COMPILE} ${JANTJE.EXTRA.ALL}"
228228
errorParsers="org.eclipse.cdt.core.GCCErrorParser"
229229
id="io.sloeber.tool.sketch.compiler.cpp"
230230
name="%tool.Arduino.CPP2O.name"
@@ -271,7 +271,7 @@
271271
<tool
272272
announcement="%tool.Arduino.C.announcement"
273273
command="${A.RECIPE.C.O.PATTERN}"
274-
commandLinePattern="${A.RECIPE.C.O.PATTERN.1} ${FLAGS} -D__IN_ECLIPSE__=1 ${INPUTS} ${A.RECIPE.C.O.PATTERN.2} ${OUTPUT} ${A.RECIPE.C.O.PATTERN.3} ${JANTJE.EXTRA.COMPILE} ${JANTJE.EXTRA.C.COMPILE}"
274+
commandLinePattern="${A.RECIPE.C.O.PATTERN.1} ${FLAGS} -D__IN_ECLIPSE__=1 ${INPUTS} ${A.RECIPE.C.O.PATTERN.2} ${OUTPUT} ${A.RECIPE.C.O.PATTERN.3} ${JANTJE.EXTRA.COMPILE} ${JANTJE.EXTRA.C.COMPILE} ${JANTJE.EXTRA.ALL}"
275275
errorParsers="org.eclipse.cdt.core.GCCErrorParser"
276276
id="io.sloeber.tool.compiler.c"
277277
name="%tool.Arduino.C2O.name"
@@ -319,7 +319,7 @@
319319
<tool
320320
announcement="%tool.Arduino.S.announcement"
321321
command="${A.RECIPE.S.O.PATTERN}"
322-
commandLinePattern="${A.RECIPE.S.O.PATTERN.1} ${FLAGS} ${INPUTS} ${A.RECIPE.S.O.PATTERN.2} ${OUTPUT} ${A.RECIPE.S.O.PATTERN.3} ${JANTJE.EXTRA.S.COMPILE}"
322+
commandLinePattern="${A.RECIPE.S.O.PATTERN.1} ${FLAGS} ${INPUTS} ${A.RECIPE.S.O.PATTERN.2} ${OUTPUT} ${A.RECIPE.S.O.PATTERN.3} ${JANTJE.EXTRA.ASSEMBLY} ${JANTJE.EXTRA.ALL}"
323323
errorParsers="org.eclipse.cdt.core.GCCErrorParser"
324324
id="io.sloeber.tool.sketch.compiler.s"
325325
name="%tool.Arduino.S20.name"
@@ -366,7 +366,7 @@
366366
<tool
367367
announcement="%tool.Arduino.archiver.announcement"
368368
command="${A.RECIPE.AR.PATTERN}"
369-
commandLinePattern="${A.RECIPE.AR.PATTERN.1} ${FLAGS} ${A.ARCHIVE_FILE_PATH} ${INPUTS} ${A.RECIPE.AR.PATTERN.2} ${A.RECIPE.AR.PATTERN.3}"
369+
commandLinePattern="${A.RECIPE.AR.PATTERN.1} ${FLAGS} ${A.ARCHIVE_FILE_PATH} ${INPUTS} ${A.RECIPE.AR.PATTERN.2} ${A.RECIPE.AR.PATTERN.3} ${JANTJE.EXTRA.ARCHIVE} ${JANTJE.EXTRA.ALL}"
370370
errorParsers="org.eclipse.cdt.core.GLDErrorParser"
371371
id="io.sloeber.tool.ar"
372372
name="%tool.name.1">
@@ -391,7 +391,7 @@
391391
<tool
392392
announcement="%tool.Arduino.combiner.announcement"
393393
command="${A.RECIPE.C.COMBINE.PATTERN}"
394-
commandLinePattern="${A.RECIPE.C.COMBINE.PATTERN.1} ${FLAGS} ${INPUTS} ${A.RECIPE.C.COMBINE.PATTERN.2} ${A.ARCHIVE_FILE_PATH} ${A.RECIPE.C.COMBINE.PATTERN.3}"
394+
commandLinePattern="${A.RECIPE.C.COMBINE.PATTERN.1} ${FLAGS} ${INPUTS} ${A.RECIPE.C.COMBINE.PATTERN.2} ${A.ARCHIVE_FILE_PATH} ${A.RECIPE.C.COMBINE.PATTERN.3} ${JANTJE.EXTRA.ALL} ${JANTJE.EXTRA.LINK}"
395395
errorParsers="org.eclipse.cdt.core.GLDErrorParser"
396396
id="io.sloeber.tool.combine"
397397
name="%tool.name.2"

io.sloeber.core/src/io/sloeber/core/api/CompileOptions.java

Lines changed: 137 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,41 @@
66
import org.eclipse.cdt.core.envvar.IEnvironmentVariable;
77
import org.eclipse.cdt.core.envvar.IEnvironmentVariableManager;
88
import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
9+
import org.eclipse.core.resources.IProject;
910

1011
import io.sloeber.core.common.Common;
1112
import io.sloeber.core.common.Const;
13+
import io.sloeber.core.tools.Helpers;
1214

1315
public class CompileOptions {
1416

17+
1518
private Boolean myWarningLevel = new Boolean(true);
1619
private boolean myAlternativeSizeCommand = false;
17-
private String myAditional_CPP_CompileOptions = ""; //$NON-NLS-1$
18-
private String myAditional_C_CompileOptions = ""; //$NON-NLS-1$
19-
private String myAditional_C_andCPP_CompileOptions = ""; //$NON-NLS-1$
20+
private String my_CPP_CompileOptions = new String();
21+
private String my_C_CompileOptions = new String();
22+
private String my_C_andCPP_CompileOptions = new String();
23+
private String my_Assembly_CompileOptions = new String();
24+
private String my_Archive_CompileOptions = new String();
25+
private String my_Link_CompileOptions = new String();
26+
private String my_All_CompileOptions = new String();
27+
28+
29+
2030
private static final String ENV_KEY_WARNING_LEVEL_OFF = "A.COMPILER.WARNING_FLAGS"; //$NON-NLS-1$
2131
private static final String ENV_KEY_WARNING_LEVEL_ON = "${A.COMPILER.WARNING_FLAGS.ALL}"; //$NON-NLS-1$
22-
public static final String ENV_KEY_JANTJE_ADDITIONAL_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START + "EXTRA.COMPILE"; //$NON-NLS-1$
23-
public static final String ENV_KEY_JANTJE_ADDITIONAL_C_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START
32+
private static final String ENV_KEY_JANTJE_ADDITIONAL_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START + "EXTRA.COMPILE"; //$NON-NLS-1$
33+
private static final String ENV_KEY_JANTJE_ADDITIONAL_C_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START
2434
+ "EXTRA.C.COMPILE"; //$NON-NLS-1$
25-
public static final String ENV_KEY_JANTJE_ADDITIONAL_CPP_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START
35+
private static final String ENV_KEY_JANTJE_ADDITIONAL_CPP_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START
2636
+ "EXTRA.CPP.COMPILE"; //$NON-NLS-1$
2737
private static final String ENV_KEY_JANTJE_WARNING_LEVEL = Const.ENV_KEY_JANTJE_START + "WARNING_LEVEL"; //$NON-NLS-1$
28-
public static final String ENV_KEY_JANTJE_SIZE_COMMAND = Const.ERASE_START + "ALT_SIZE_COMMAND"; //$NON-NLS-1$
29-
public static final String ENV_KEY_JANTJE_SIZE_SWITCH = Const.ENV_KEY_JANTJE_START + "SIZE.SWITCH"; //$NON-NLS-1$
38+
private static final String ENV_KEY_JANTJE_SIZE_COMMAND = Const.ERASE_START + "ALT_SIZE_COMMAND"; //$NON-NLS-1$
39+
private static final String ENV_KEY_JANTJE_SIZE_SWITCH = Const.ENV_KEY_JANTJE_START + "SIZE.SWITCH"; //$NON-NLS-1$
40+
private static final String ENV_KEY_JANTJE_ASSEMBLY_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START + "EXTRA.ASSEMBLY"; //$NON-NLS-1$
41+
private static final String ENV_KEY_JANTJE_ARCHIVE_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START + "EXTRA.ARCHIVE"; //$NON-NLS-1$
42+
private static final String ENV_KEY_JANTJE_LINK_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START + "EXTRA.LINK"; //$NON-NLS-1$
43+
private static final String ENV_KEY_JANTJE_ALL_COMPILE_OPTIONS = Const.ENV_KEY_JANTJE_START + "EXTRA.ALL"; //$NON-NLS-1$
3044

3145
/**
3246
* gets the compile options stored in this configuration description. if the
@@ -50,55 +64,98 @@ public CompileOptions(ICConfigurationDescription confDesc) {
5064
this.myAlternativeSizeCommand = var.getValue().contains(ENV_KEY_JANTJE_SIZE_COMMAND);
5165
var = contribEnv.getVariable(ENV_KEY_JANTJE_ADDITIONAL_COMPILE_OPTIONS, confDesc);
5266
if (var != null)
53-
this.myAditional_C_andCPP_CompileOptions = var.getValue();
67+
this.my_C_andCPP_CompileOptions = var.getValue();
5468
var = contribEnv.getVariable(ENV_KEY_JANTJE_ADDITIONAL_C_COMPILE_OPTIONS, confDesc);
5569
if (var != null)
56-
this.myAditional_C_CompileOptions = var.getValue();
70+
this.my_C_CompileOptions = var.getValue();
5771
var = contribEnv.getVariable(ENV_KEY_JANTJE_ADDITIONAL_CPP_COMPILE_OPTIONS, confDesc);
5872
if (var != null)
59-
this.myAditional_CPP_CompileOptions = var.getValue();
73+
this.my_CPP_CompileOptions = var.getValue();
74+
var = contribEnv.getVariable(ENV_KEY_JANTJE_ASSEMBLY_COMPILE_OPTIONS, confDesc);
75+
if (var != null)
76+
this.my_Assembly_CompileOptions = var.getValue();
77+
var = contribEnv.getVariable(ENV_KEY_JANTJE_ARCHIVE_COMPILE_OPTIONS, confDesc);
78+
if (var != null)
79+
this.my_Archive_CompileOptions = var.getValue();
80+
var = contribEnv.getVariable(ENV_KEY_JANTJE_LINK_COMPILE_OPTIONS, confDesc);
81+
if (var != null)
82+
this.my_Link_CompileOptions = var.getValue();
83+
var = contribEnv.getVariable(ENV_KEY_JANTJE_ALL_COMPILE_OPTIONS, confDesc);
84+
if (var != null)
85+
this.my_All_CompileOptions = var.getValue();
6086

6187
}
6288
}
6389

64-
public boolean isMyWarningLevel() {
90+
public boolean isWarningLevel() {
6591
return this.myWarningLevel.booleanValue();
6692
}
6793

68-
public void setMyWarningLevel(boolean myWarningLevel) {
94+
public void setWarningLevel(boolean myWarningLevel) {
6995
this.myWarningLevel = new Boolean(myWarningLevel);
7096
}
7197

72-
public boolean isMyAlternativeSizeCommand() {
98+
public boolean isAlternativeSizeCommand() {
7399
return this.myAlternativeSizeCommand;
74100
}
75101

76-
public void setMyAlternativeSizeCommand(boolean alternativeSizeCommand) {
102+
public void setAlternativeSizeCommand(boolean alternativeSizeCommand) {
77103
this.myAlternativeSizeCommand = alternativeSizeCommand;
78104
}
79105

80-
public String getMyAditional_CPP_CompileOptions() {
81-
return this.myAditional_CPP_CompileOptions;
106+
public String get_CPP_CompileOptions() {
107+
return this.my_CPP_CompileOptions;
108+
}
109+
110+
public void set_CPP_CompileOptions(String new_CPP_CompileOptions) {
111+
this.my_CPP_CompileOptions = new_CPP_CompileOptions;
112+
}
113+
114+
public String get_C_CompileOptions() {
115+
return this.my_C_CompileOptions;
116+
}
117+
118+
public void set_C_CompileOptions(String new_C_CompileOptions) {
119+
this.my_C_CompileOptions = new_C_CompileOptions;
120+
}
121+
122+
public String get_C_andCPP_CompileOptions() {
123+
return this.my_C_andCPP_CompileOptions;
124+
}
125+
126+
public void set_C_andCPP_CompileOptions(String new_C_andCPP_CompileOptions) {
127+
this.my_C_andCPP_CompileOptions = new_C_andCPP_CompileOptions;
128+
}
129+
public String get_Assembly_CompileOptions() {
130+
return this.my_Assembly_CompileOptions;
131+
}
132+
133+
public void set_Assembly_CompileOptions(String my_Assembly_CompileOptions) {
134+
this.my_Assembly_CompileOptions = my_Assembly_CompileOptions;
82135
}
83136

84-
public void setMyAditional_CPP_CompileOptions(String aditional_CPP_CompileOptions) {
85-
this.myAditional_CPP_CompileOptions = aditional_CPP_CompileOptions;
137+
public String get_Archive_CompileOptions() {
138+
return this.my_Archive_CompileOptions;
86139
}
87140

88-
public String getMyAditional_C_CompileOptions() {
89-
return this.myAditional_C_CompileOptions;
141+
public void set_Archive_CompileOptions(String my_Archive_CompileOptions) {
142+
this.my_Archive_CompileOptions = my_Archive_CompileOptions;
90143
}
91144

92-
public void setMyAditional_C_CompileOptions(String aditional_C_CompileOptions) {
93-
this.myAditional_C_CompileOptions = aditional_C_CompileOptions;
145+
public String get_Link_CompileOptions() {
146+
return this.my_Link_CompileOptions;
94147
}
95148

96-
public String getMyAditional_C_andCPP_CompileOptions() {
97-
return this.myAditional_C_andCPP_CompileOptions;
149+
public void set_Link_CompileOptions(String my_Link_CompileOptions) {
150+
this.my_Link_CompileOptions = my_Link_CompileOptions;
98151
}
99152

100-
public void setMyAditional_C_andCPP_CompileOptions(String myAditional_C_andCPP_CompileOptions) {
101-
this.myAditional_C_andCPP_CompileOptions = myAditional_C_andCPP_CompileOptions;
153+
public String get_All_CompileOptions() {
154+
return this.my_All_CompileOptions;
155+
}
156+
157+
public void set_All_CompileOptions(String my_All_CompileOptions) {
158+
this.my_All_CompileOptions = my_All_CompileOptions;
102159
}
103160

104161
/**
@@ -108,13 +165,18 @@ public void setMyAditional_C_andCPP_CompileOptions(String myAditional_C_andCPP_C
108165
* must be a valid configuration description
109166
*/
110167
public void save(ICConfigurationDescription configuration) {
168+
CompileOptions curOptions=new CompileOptions(configuration);
169+
if(needsDirtyFlag(curOptions)) {
170+
IProject project = configuration.getProjectDescription().getProject();
171+
Helpers.setDirtyFlag(project, configuration);
172+
}
111173
IEnvironmentVariableManager envManager = CCorePlugin.getDefault().getBuildEnvironmentManager();
112174
IContributedEnvironment contribEnv = envManager.getContributedEnvironment();
113175
IEnvironmentVariable var = new EnvironmentVariable(ENV_KEY_JANTJE_WARNING_LEVEL,
114176
this.myWarningLevel.toString());
115177
contribEnv.addVariable(var, configuration);
116178

117-
if (this.isMyWarningLevel()) {
179+
if (this.isWarningLevel()) {
118180
var = new EnvironmentVariable(ENV_KEY_WARNING_LEVEL_OFF, ENV_KEY_WARNING_LEVEL_ON);
119181
contribEnv.addVariable(var, configuration);
120182
}
@@ -128,14 +190,58 @@ public void save(ICConfigurationDescription configuration) {
128190
contribEnv.addVariable(var, configuration);
129191
}
130192
var = new EnvironmentVariable(ENV_KEY_JANTJE_ADDITIONAL_COMPILE_OPTIONS,
131-
this.myAditional_C_andCPP_CompileOptions);
193+
this.my_C_andCPP_CompileOptions);
132194
contribEnv.addVariable(var, configuration);
133195
var = new EnvironmentVariable(ENV_KEY_JANTJE_ADDITIONAL_CPP_COMPILE_OPTIONS,
134-
this.myAditional_CPP_CompileOptions);
196+
this.my_CPP_CompileOptions);
135197
contribEnv.addVariable(var, configuration);
136-
var = new EnvironmentVariable(ENV_KEY_JANTJE_ADDITIONAL_C_COMPILE_OPTIONS, this.myAditional_C_CompileOptions);
198+
var = new EnvironmentVariable(ENV_KEY_JANTJE_ADDITIONAL_C_COMPILE_OPTIONS, this.my_C_CompileOptions);
199+
contribEnv.addVariable(var, configuration);
200+
201+
202+
var = new EnvironmentVariable(ENV_KEY_JANTJE_ASSEMBLY_COMPILE_OPTIONS,
203+
this.my_Assembly_CompileOptions);
137204
contribEnv.addVariable(var, configuration);
205+
var = new EnvironmentVariable(ENV_KEY_JANTJE_ARCHIVE_COMPILE_OPTIONS,
206+
this.my_Archive_CompileOptions);
207+
contribEnv.addVariable(var, configuration);
208+
var = new EnvironmentVariable(ENV_KEY_JANTJE_LINK_COMPILE_OPTIONS,
209+
this.my_Link_CompileOptions);
210+
contribEnv.addVariable(var, configuration);
211+
var = new EnvironmentVariable(ENV_KEY_JANTJE_ALL_COMPILE_OPTIONS,
212+
this.my_All_CompileOptions);
213+
contribEnv.addVariable(var, configuration);
214+
215+
216+
217+
}
218+
219+
private boolean needsDirtyFlag(CompileOptions curOptions) {
220+
// ignore myWarningLevel
221+
//ignore myAlternativeSizeCommand
222+
if( !this.my_CPP_CompileOptions.equals(curOptions.get_CPP_CompileOptions())){
223+
return true;
224+
}
225+
if( !this.my_C_CompileOptions.equals(curOptions.get_C_CompileOptions())){
226+
return true;
227+
}
228+
if( !this.my_C_andCPP_CompileOptions.equals(curOptions.get_C_andCPP_CompileOptions())){
229+
return true;
230+
}
231+
if( !this.my_Assembly_CompileOptions.equals(curOptions.get_Assembly_CompileOptions())){
232+
return true;
233+
}
234+
if( !this.my_Archive_CompileOptions.equals(curOptions.get_Archive_CompileOptions())){
235+
return true;
236+
}
237+
if( !this.my_Link_CompileOptions.equals(curOptions.get_Link_CompileOptions())){
238+
return true;
239+
}
240+
if( !this.my_All_CompileOptions.equals(curOptions.get_All_CompileOptions())){
241+
return true;
242+
}
138243

244+
return false;
139245
}
140246

141247
}

io.sloeber.core/src/io/sloeber/core/toolchain/ArduinoLanguageProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ protected String getCompilerCommand(String languageId) {
162162
CompileOptions compileOptions = new CompileOptions(confDesc);
163163
if (languageId.equals("org.eclipse.cdt.core.gcc")) {
164164
recipeKey = Common.get_ENV_KEY_RECIPE(Const.ACTION_C_to_O);
165-
extraOptions = compileOptions.getMyAditional_C_CompileOptions();
165+
extraOptions = compileOptions.get_C_CompileOptions();
166166
} else if (languageId.equals("org.eclipse.cdt.core.g++")) {
167167
recipeKey = Common.get_ENV_KEY_RECIPE(Const.ACTION_CPP_to_O);
168-
extraOptions = compileOptions.getMyAditional_CPP_CompileOptions();
168+
extraOptions = compileOptions.get_CPP_CompileOptions();
169169
} else {
170170
ManagedBuilderCorePlugin.error(
171171
"Unable to find compiler command for language " + languageId + " in toolchain=" + getToolchainId());
172172
}
173-
extraOptions = extraOptions + " " + compileOptions.getMyAditional_C_andCPP_CompileOptions();
173+
extraOptions = extraOptions + " " + compileOptions.get_C_andCPP_CompileOptions()+" "+compileOptions.get_All_CompileOptions();
174174
try {
175175
compilerCommand = envManager.getVariable(recipeKey + Const.DOT + "1", confDesc, true).getValue();
176176
compilerCommand = compilerCommand

io.sloeber.tests/src/io/sloeber/core/CompileAndUploadTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public static void installAdditionalBoards() {
136136
public void testExamples() {
137137
IPath templateFolder = Shared.getTemplateFolder("fastBlink");
138138
CompileOptions compileOptions = new CompileOptions(null);
139-
compileOptions.setMyAditional_C_andCPP_CompileOptions("-DINTERVAL=" + interval);
139+
compileOptions.set_C_andCPP_CompileOptions("-DINTERVAL=" + interval);
140140
Build_Verify_upload(CodeDescriptor.createCustomTemplate(templateFolder), compileOptions);
141141

142142
}

io.sloeber.tests/src/io/sloeber/core/RegressionTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ public void are_jantjes_options_taken_into_account() throws Exception {
180180
NullProgressMonitor monitor = new NullProgressMonitor();
181181
try {
182182
CompileOptions compileOptions = new CompileOptions(null);
183-
compileOptions.setMyAditional_C_andCPP_CompileOptions("-DTEST_C_CPP");
184-
compileOptions.setMyAditional_C_CompileOptions("-DTEST_C");
185-
compileOptions.setMyAditional_CPP_CompileOptions("-DTEST_CPP");
183+
compileOptions.set_C_andCPP_CompileOptions("-DTEST_C_CPP");
184+
compileOptions.set_C_CompileOptions("-DTEST_C");
185+
compileOptions.set_CPP_CompileOptions("-DTEST_CPP");
186186
theTestProject = unoBoardid.createProject(projectName, null,
187187
ConfigurationDescriptor.getDefaultDescriptors(), codeDescriptor, compileOptions, monitor);
188188
ICProjectDescription prjCDesc = CoreModel.getDefault().getProjectDescription(theTestProject);

io.sloeber.ui/src/io/sloeber/ui/Messages.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
public class Messages extends NLS {
66
private static final String BUNDLE_NAME = "io.sloeber.ui.messages"; //$NON-NLS-1$
77

8+
public static String ui_Apend_assembly;
9+
public static String ui_append_assembly_text;
10+
public static String ui_Apend_archive;
11+
public static String ui_append_archive_text;
12+
public static String ui_Apend_link;
13+
public static String ui_append_link_text;
14+
public static String ui_Apend_all;
15+
public static String ui_append_all_text;
16+
817
public static String platformSelectionTip;
918

1019
public static String error_adding_arduino_code;

io.sloeber.ui/src/io/sloeber/ui/messages.properties

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error_adding_arduino_code=Error adding the arduino code
1+
error_adding_arduino_code=Error adding the Arduino code
22
error_no_platform_files_found=No platform files found: This should never happen
33
error_no_host_name=No host name provided
44
error_failed_to_import_library_in_project=Failed to import library
@@ -80,3 +80,11 @@ port_is_not_a_computer_name=The port you have selected is not a computer name.
8080
Set_or_Remove_password=Set or remove password.
8181
ui_pragma_once_headers=Add #pragma once to all headers
8282
ui_use_arduino_toolchain_selection=Select the toolchain like the Arduino IDE.
83+
ui_Apend_assembly=append to assembly
84+
ui_append_assembly_text=This command is added to the assembly command.
85+
ui_Apend_archive=append to archive
86+
ui_append_archive_text=This command is added to the archive command.
87+
ui_Apend_link=append to link
88+
ui_append_link_text=This command is added to the link command.
89+
ui_Apend_all=append to all
90+
ui_append_all_text=This command is added to all commands above.

0 commit comments

Comments
 (0)