Squirrel-SQL快照20190612_2127中存储的语法自动更正数据在哪里? [英] Where is the Syntax-Autocorrect data stored in Squirrel-SQL snapshot 20190612_2127?

查看:105
本文介绍了Squirrel-SQL快照20190612_2127中存储的语法自动更正数据在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在较早版本的Squirrel-SQL中,如 Squirrel SQL在何处存储其自动更正条目中所述,自动更正数据存储在XML文件中? .更新到最新版本后,该文件不再存在于相同的语法"文件夹中(C:\ Program Files \ SQuirreL SQL Client \ plugins \ syntax).有人知道我可以在哪里找到该文件吗?

In older versions of Squirrel-SQL, autocorrect data was stored in an XML file as documented in Where does Squirrel SQL store its auto correct entries?. After updating to a more recent version, this file no longer exists in the same "syntax" folder (C:\Program Files\SQuirreL SQL Client\plugins\syntax). Does anyone know where I might be able to locate this file?

由于在旧的"syntax"文件夹中没有太多需要处理的内容,因此我在"plugins"父文件夹中挖掘了yntax.jar文件,并在压缩文件夹"syntax \"中找到了一堆.class文件. net \ sourceforge \ squirrel_sql \ plugins \ syntax"(直接进入.jar文件).有一些看起来很有希望的文件,例如

Since there wasn't much to work with in the old "syntax" folder, I dug into the syntax.jar file in the "plugins" parent folder and found a bunch of .class files in the zipped folder "syntax\net\sourceforge\squirrel_sql\plugins\syntax" (peaking into the .jar file as it were). There were a few files that looked promising, such as

AutoCorrectData.class
AutoCorrectDataItem.class
AutoCorrectProviderImpl.class

但是它们都没有包含我已添加到客户端的自动更正条目-尽管上面列出的最后一个.class文件引用了"autocorrectdata.xml"文件,这是我最初找不到的文件.

But none of them contained autocorrect entries I have added to the client - although the last .class file listed above references an "autocorrectdata.xml" file, which is what I could not find in the first place.

只要能提供帮助,我将不胜感激!

Any help I can get on this would be much appreciated!

推荐答案

Do!产生较新版本的Squirrel-SQL在本地用户文件夹中存储用户定义的自动更正数据.其实很有道理!在以下文件夹中找到了我的autocorrectdata.xml文件:

Doh! Turns out newer versions of Squirrel-SQL store user-defined autocorrect data in local user folders. Makes a lot of sense actually! Found my autocorrectdata.xml file in the following folder:

C:\ Users \ [我的用户名] \.squirrel-sql \ plugins \语法

C:\Users\[My Username]\.squirrel-sql\plugins\syntax

这篇关于Squirrel-SQL快照20190612_2127中存储的语法自动更正数据在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆