72956bfd58
Make current filename accessible to placeholders
2021-06-20 05:48:11 +02:00
b8bea349ba
Add username placeholder
2021-06-20 05:48:10 +02:00
869eb2cbc7
Add hostname placeholder
2021-06-20 05:48:02 +02:00
fc81383e1f
Add project name placeholder
2021-06-20 05:47:57 +02:00
4b542a2677
Add formatted date placeholder
2021-06-20 05:47:52 +02:00
e5041d1822
Extract placeholder processing
2021-06-13 15:01:23 +02:00
fe1b4db39a
Refactor placeholder processing
...
Iterate over the characters of the template string and process placeholders from left to right instead of replacing placeholders in an arbitrary order. The main benefit to this approach is avoiding regex to locate the placeholders. Finding the placeholders with regex is trickier than it looks like at first glance especially when nested placeholder boundary characters have to be considered. For example '{' and '}' are reserved date pattern characters which might be used within a date placeholder in the future.
2021-06-10 12:36:11 +02:00
5b2648f0c9
Make plugin compatible with idea version 2020.3
2021-06-10 08:31:09 +02:00
32bf4dfacb
Make plugin compatible with idea version 2019.3
2021-06-10 08:30:39 +02:00
6262bda2fb
Make plugin compatible with idea version 2019.2
2021-06-10 08:30:31 +02:00
a460262440
Provide plugin icons
2021-06-10 08:29:37 +02:00
9e5c4f2f7c
Provide plugin description
2021-06-10 08:29:37 +02:00
4169c1305f
Simplify template
2021-06-10 08:29:37 +02:00
dc97fcb6e3
Use name as filename template identifier
2021-06-10 08:29:37 +02:00
b33653ae22
Fix missing table header
2021-06-10 08:29:37 +02:00
6a30df2a89
Remove settings from display name shown in settings
2021-06-10 08:29:37 +02:00
650e2c8645
Allow to enable and disable filename templates
2021-06-10 08:29:37 +02:00
875580f27f
Provide toolbar to move filename templates
2021-06-10 08:29:37 +02:00
ad1f6de879
Fix add/remove filename templates modified check
2021-06-10 08:29:37 +02:00
2830d374fc
Remove stripes from simple data set as recommended
...
See https://jetbrains.design/intellij/controls/table/ for further recommendations
2021-06-10 08:29:37 +02:00
a7724857fb
Provide toolbar to add and remove filename templates
2021-06-10 08:29:37 +02:00
91090a14fd
Allow multiple filename templates
2021-06-10 08:29:37 +02:00
a9f1d0d0a1
Fix settings state (de-)serialization
...
As the default constructor is used during (de-)serialization the non nullable properties have to be initialized.
2021-06-10 08:29:37 +02:00
26e7adbfae
Show filename template configuration as table
2021-06-10 08:29:37 +02:00
f0a683a6dc
Update actions on configuration change
2021-06-10 08:29:37 +02:00
e6d25f4fa0
Process {{EPOCH}} template placeholder
2021-06-10 08:29:37 +02:00
d19f71926d
Add create file with filename template to the context menu
2021-06-10 08:29:37 +02:00
0ec2b040f8
Provide filename template configuration
2021-06-10 08:29:37 +02:00
958f019a5e
Use CreateFileAction as action base
...
This actually creates the file already. The only task is now to provide the initial filename template.
2021-06-10 08:29:37 +02:00
531a8a1b6f
Allow user to finish input by pressing return
2021-06-10 08:29:37 +02:00
13fb76bc26
Create IntelliJ plugin structure
2021-06-10 08:29:37 +02:00