Commit Graph

53 Commits

Author SHA1 Message Date
2c228852b4 Merge branch 'idea-182' into idea-181 2021-06-20 23:41:10 +02:00
80ba97abac Merge branch 'idea-183' into idea-182 2021-06-20 23:40:20 +02:00
524efaf199 Merge branch 'idea-191' into idea-183 2021-06-20 23:39:39 +02:00
b521520965 Merge branch idea-192' into idea-191 2021-06-20 23:34:17 +02:00
f383e397e6 Merge branch 'idea-193' into idea-192 2021-06-20 23:30:19 +02:00
6d52f12b68 Merge branch 'idea-201' into idea-193 2021-06-20 23:19:00 +02:00
e0e7327b15 Merge branch 'idea-202' into idea-201 2021-06-20 23:17:39 +02:00
d47039d7b9 Merge branch 'idea-203' into idea-202 2021-06-20 23:14:35 +02:00
82b9694552 Merge branch 'idea-211' into idea-203 2021-06-20 10:05:17 +02:00
543435b7a0 Update version and release notes 2021-06-20 09:53:22 +02:00
e7f3c6f80e Add caret position placeholder 2021-06-20 09:45:50 +02:00
d72198746f Add sequence placeholder 2021-06-20 05:48:11 +02:00
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
b1f1575809 Make plugin compatible with idea version 2021.1 2021-06-10 08:35:36 +02:00
5b2648f0c9 Make plugin compatible with idea version 2020.3 2021-06-10 08:31:09 +02:00
674aaf9f04 Make plugin compatible with idea version 2020.2 2021-06-10 08:31:02 +02:00
ae55501210 Make plugin compatible with idea version 2020.1 2021-06-10 08:30:56 +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
7ca666d59c Make plugin compatible with idea version 2019.1 2021-06-10 08:30:22 +02:00
3a11318bf7 Make plugin compatible with idea version 2018.3 2021-06-10 08:30:16 +02:00
fd9a45d49a Make plugin compatible with idea version 2018.2 2021-06-10 08:30:05 +02:00
6722f80049 Add screen shots for user manual 2021-06-10 08:29:37 +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
a0e0e35c49 Update change notes 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