Commit Graph

55 Commits

Author SHA1 Message Date
54731f658e Upgrade gradle plugins 2021-12-11 22:14:57 +01:00
5e3a782ecb Make plugin compatible with idea version 2021.3 2021-12-11 05:47:31 +01:00
75cf64185a Make plugin compatible with idea version 2021.2 2021-08-07 09:48:04 +02:00
1d9fb818e4 Update version and documentation 2021-07-29 19:01:46 +02:00
7cfcad0c54 Combine name and description into title
With the templated new file dialog the description could not be shown anywhere. Simply deleting the description is not an option as some users might rely on this information.
2021-07-29 09:18:25 +02:00
d15d54e801 Provide placeholder completion cell editor 2021-07-29 08:23:34 +02:00
525b76b208 Disable action when no template is configured 2021-07-29 08:23:12 +02:00
eb94b71723 Reduce New menu actions to one
JetBrains plugins should only add one action to the New menu by using CreateWithTemplatesDialogPanel.
-- https://intellij-support.jetbrains.com/hc/en-us/community/posts/206755565-Override-New-menu-organisation?page=1#community_comment_206095325
2021-07-29 08:19:35 +02:00
183a44bc00 Minimize column "Active" width 2021-06-20 23:58:06 +02:00
7474792579 Initialize placeholders only at startup 2021-06-20 23:57:31 +02:00
cef38d89b1 Make new filename templates active by default 2021-06-20 23:48:28 +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