Page 1 of 1
Location of .editorconfig
Posted: Thu Apr 21, 2022 2:07 pm
by Drxenos
Where does TexPad put the ".editorconfig" file? I can't seem to find it.
Thanks.
Posted: Thu Apr 21, 2022 3:31 pm
by ben_josephs
It doesn't put .editorconfig anywhere. It doesn't support its use.
It stores its configuration in these files:
Code: Select all
%USERPROFILE%\AppData\Roaming\Helios\TextPad\8\
ConfigState.xml
GUIState.xml
Posted: Thu Apr 21, 2022 4:07 pm
by Drxenos
What do you mean it doesn't support it? They why does it have an option for it?
Posted: Thu Apr 21, 2022 5:11 pm
by ben_josephs
Ah. I looked around and found
Configure | Preferences | Editor | Enable .editorconfig
Good question. Sorry, I don't know.
Posted: Thu Apr 21, 2022 5:20 pm
by Drxenos
That's OK. Thanks anyway!
Posted: Fri Apr 22, 2022 7:57 am
by ak47wong
.editconfig files aren't for
storing TextPad configuration. It's more the opposite: a way to
set up TextPad and other editors in a certain way for, say, a particular project.
The help window for the Preferences page that ben_josephs referred to includes a link to the
EditorConfig specifications. There's also a more
user-friendly version here.
As an example, if you have an .editorconfig file like this in a folder:
Code: Select all
# Sample editorconfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
then every file you open in TextPad in or below that folder will have the properties:
- Convert new tabs to spaces
- Indent size: 4
- Strip trailing spaces from lines when saving
etc.
Support for .editorconfig files was added in v8.8.0 (1-Jun-2021).
Posted: Sat Apr 23, 2022 8:31 pm
by Drxenos
I know that. I just (wrongly) assumed TextPad would be able to generate an .editorconfig from it's own configuration.
Thanks anyway.