开发者

Notepad is saving xquery file with txt suffix

开发者 https://www.devze.com 2023-03-14 22:49 出处:网络
Wikipedia says that XQuery can run through file extensions .xq, .xqy, .xquery. However, when I try to create a file with any of these e开发者_Go百科xtensions, Notepad rather creates an .xq.txt file an

Wikipedia says that XQuery can run through file extensions .xq, .xqy, .xquery. However, when I try to create a file with any of these e开发者_Go百科xtensions, Notepad rather creates an .xq.txt file and so on. Do I need to add any registry entries or something?

P.S. I am using Windows 7 Ultimate x64.


I wouldn't use notepad at all to be honest.

Check this tutorial to see how to get started with an Eclipse based XQuery IDE: XQuery.me. Otherwise, I would use notepad++ instead of notepad.

hope this helps.


Two possibilities:

  • Just put some double quotes around your filename, and notepad will save it without adding .txt.
  • Select "All Files" in the file content box will stop notepad adding .txt, too.

Better solution as stated before: use some better editor like Notepad++ or e.


Eclipse is providing open-source plug-ins for XQuery. More at http://xqdt.org.


Two solutions for this:

  1. While saving the name save it with "" . For example foo.xq will be "foo.xq"
  2. Change the type of File to all Files. This will not save the file as .txt
0

精彩评论

暂无评论...
验证码 换一张
取 消