問題描述
我使用 Squirrel SQL 作為 DB2 for iSeries 的 goto SQL 編輯器,我喜歡的一個特性是自動更正.我在編輯器中輸入快捷方式,例如 ssf,然后彈出select * from".
I use Squirrel SQL as my goto SQL editor for DB2 for iSeries, and one feature I love is the autocorrect. I enter shortcuts into the editor like ssf and "select * from" pops up.
我知道可以一次將條目添加到庫中,但是如何一次添加多個條目?我知道這可能是對資源文件的深入編輯,我對 Java 很熟悉,可以進行編輯但找不到實際資源.
I know it's possible to add entries to the library one row at a time, but how can I add multiple entries at once? I understand it could be an in-depth editing of resource files, and I'm comfortable enough with Java to make the edit but not find the actual resource.
書簽功能不適合我的需要,它仍然不允許我輸入我想添加的 140 多個自動更正.
The bookmarks feature doesn't suit my needs for this, and it still wouldn't allow me to enter the 140+ autocorrections I want to add.
推薦答案
找到了——翻遍了class文件,找到了他們引用的xml文件,存放在.squirrel-sqlpluginssyntaxautocorrectdata.xml
I found it--after digging through the class files, I found the file they referred to an xml stored at .squirrel-sqlpluginssyntaxautocorrectdata.xml
這樣可以節省大量時間.現在我可以輸入一個表名,它會自動填充表架構、表名和首選相關性.
That saves a ton of time. Now I can type a table name and it will auto-populate the table schema, table name, and the preferred correlation.
這篇關于Squirrel SQL 在哪里存儲其自動更正條目?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!