Menu

#2253 File extensions recognised by internal editor

KeePass_2.x
closed
nobody
None
5
2017-03-23
2017-03-21
Davii
No

Please can we expand the number of files that the internal text editor will open. Either by getting it to recognise a more comprehensive list of text file extentions, or by showing a warning, and then allowing the user to force the editor to open the file anyway.

The internal editor opens a number of file extensions as text (.txt .bat etc.) but the option to open with internal editor is greyed out if the file extension is one that it doesn't recognise. I would really like to be able to edit .ps1 files, which are standard text PowerShell scripts in windows.

P.S. I'm sorry if this is a duplicate. I did search :-)

Discussion

  • Dominik Reichl

    Dominik Reichl - 2017-03-22
    • status: open --> closed
    • Group: KeePass --> KeePass_2.x
     
  • Dominik Reichl

    Dominik Reichl - 2017-03-22

    I've added this now; the internal text editor now supports editing PS1 files.

    Here's the latest development snapshot for testing:
    http://keepass.info/filepool/KeePass_170322.zip

    Thanks and best regards,
    Dominik

     
  • Davii

    Davii - 2017-03-22

    Thankyou for that, it appears to work well.

    However, what I did was uninstall KeePass 2.35, and then run this snapshot, which showed two bugs that I can see:
    Firstly, it doesn't associate with kdbx files, or give them an icon.
    (Edit: Sorry, I'm being dim here - I've just realised this is always going to be the case, since it's not an installed program!)
    Secondly, it remembered the recent file list from the 2.35 installation, but got the links wrong -
    C:\Users\XXX\Dropbox\xxx.kdbx became
    C:\Users\XXX\Users\XXX\Dropbox\xxx.kdbx

     

    Last edit: Davii 2017-03-22
  • Dominik Reichl

    Dominik Reichl - 2017-03-22

    Paths in the configuration file are relative. Most likely you ran the development snapshot from a different location, so the changed paths are not surprising.

    Development snapshots are intended only for testing (e.g. plugins won't work with it).

    Best regards,
    Dominik

     
  • Davii

    Davii - 2017-03-22

    Cool. Thanks.
    Will this feature be included in the next stable release? Any idea when that's due for release?

     
  • Paul

    Paul - 2017-03-22

    There are generally no deadlines for releases, they come out when Dominik thinks it's appropriate.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2017-03-22

    This feature will be included in KeePass 2.36, yes. There is no fixed release date yet.

    Best regards,
    Dominik

     
    • Davii

      Davii - 2017-03-23

      Thanks Dominik. I love KeePass. It's invaluable to me, and your efforts are much appreciated!

       
  • T. Bug Reporter

    T. Bug Reporter - 2017-03-22

    Development snapshots are intended only for testing (e.g. plugins won't work with it).

    That may be your intention, Dominik, but I've never had any problem with just swapping out the files and leaving them there until the next release. For example, I'm currently still running "Version 2.35 (Dev. 170319)"; I tested those changes and never saw any reason - including plugins - to switch back.

    Just FYI.

     
    • Davii

      Davii - 2017-03-23

      Thankyou for the information. It's good to know that at least some snapshots are stable enough to use on a daily basis, and that so far they have worked fine with the plugins you use. It's also great that you are in a position to test snapshots and report bugs. However, by definition these are development snapshops, not tested stable releases. I may choose to take the risk, and run this snapshot for the moment to keep the feature it provides, but I know thre will be risks to that. For instance, if I come across bugs I may need to check them across different snapshots, and there is a greater chance that I may lose data in the process.
      Intent and intention have different meanings. Dominik said that the snapshot is not intended for use in a live environment - meaning still possible, but not recommended for reasons stated. You implied that it was his intention to make it impossible to use snapshots in a live environment. This is not the same thing.

       
  • T. Bug Reporter

    T. Bug Reporter - 2017-03-23

    these are development snapshops, not tested stable releases. I may choose to take the risk

    Of course, that's your choice; I just wanted to share my experience and my opinion that Dominik's snapshots tend to be much more stable than he himself is willing to admit.

    Intent and intention have different meanings

    Not according to dictionary.com (www.dictionary.com).

    You implied that it was his intention to make it impossible to use snapshots in a live environment.

    That was not my, ahem, intent. :-)

     

Log in to post a comment.

MongoDB Logo MongoDB