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
{{ message }}
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
this.containerEl.createEl("p",{text: `Use the following areas to set settings per script, paths provided may either be absolute or relative to the vault path.`});
246
+
206
247
for(varindex=0;index<this.files.length;index++){
207
248
letfile=this.files[index];
208
249
if(!(fileinthis.plugin.settings.passVaultPath)){
@@ -223,6 +264,17 @@ class PythonScripterSettingTab extends PluginSettingTab {
223
264
awaitthis.plugin.saveSettings();
224
265
});
225
266
});
267
+
newSetting(containerEl)
268
+
.setName(`${file} .env File`)
269
+
.setDesc(`Provides Runtime Environment Variables for ${file}`)
270
+
.addTextArea((area)=>{
271
+
area
272
+
.setValue(this.plugin.settings.dotFiles[file])
273
+
.onChange(async(value)=>{
274
+
this.plugin.settings.dotFiles[file]=value;
275
+
awaitthis.plugin.saveSettings();
276
+
});
277
+
});
226
278
newSetting(containerEl)
227
279
.setName(`Pass Vault Path`)
228
280
.setDesc(`Whether to pass the vault path to ${file}`)
0 commit comments