1. There's no 'xqy' filter, you shouldn't define it in 'filters' section. Better remove 'filters' at all.
2. You should also modify getSyntax() method so it can correctly match syntax for required files.
___________________________________________
Сергей Чикуёнок
http://chikuyonok.ru serge....@gmail.com
On Sunday, July 29, 2012 2:08:28 PM UTC-5, Sergey Chikuyonok wrote:
> 1. There's no 'xqy' filter, you shouldn't define it in 'filters' section. > Better remove 'filters' at all. > 2. You should also modify getSyntax() method so it can correctly match > syntax for required files.
> ___________________________________________
> Сергей Чикуёнок
> http://chikuyonok.ru > serge....@gmail.com
> On Sunday, July 29, 2012 at 11:03 PM, Deitek Systems wrote:
> Hi
> I'm looking for how to support XQuery in ZendCoding, is there any guide > for this?
> I've tried using the following syntax in the zend_coding.js File of > notepad++,
As is said, you have to modify getSyntax() method of editor proxy: https://github.com/sergeche/zen-coding/blob/v0.7.1/plugins/npp/editor... (it’s a source code, the plugin has all files concatenated into single file).
You need to make sure that real syntax name used by N++ is xqy, not query or something else. Otherwise, you need to change syntax name in Zen Coding snippets.
Or you can just add your snippets to html syntax.
___________________________________________
Сергей Чикуёнок
http://chikuyonok.ru serge....@gmail.com
> But when I want in notepad using Ctrl+E after I write the abbreviation as follows:
> nsosm
> I can not get the expected output: declare namespace osm
> but this expands the abbreviation as follows:
> <nsosm> </ nsosm>
> How could obtain the expected output achieved ?
> Regards,
> David A Leon H
> Deitek Systems
> On Sunday, July 29, 2012 2:08:28 PM UTC-5, Sergey Chikuyonok wrote:
> > 1. There's no 'xqy' filter, you shouldn't define it in 'filters' section. Better remove 'filters' at all.
> > 2. You should also modify getSyntax() method so it can correctly match syntax for required files.
I tested several modifications to the file snippets.json (Zendcoding v0.8Beta-Npp), the only thing that I worked, was to add xquery snippets within the group of snippets of html
Now I haven't tried to modify the method getSyntax (),
> As is said, you have to modify getSyntax() method of editor proxy: > https://github.com/sergeche/zen-coding/blob/v0.7.1/plugins/npp/editor...s a source code, the plugin has all files concatenated into single > file). > You need to make sure that real syntax name used by N++ is xqy, not query > or something else. Otherwise, you need to change syntax name in Zen Coding > snippets.
> Or you can just add your snippets to html syntax.
> ___________________________________________
> Сергей Чикуёнок
> http://chikuyonok.ru > serge....@gmail.com
> On Monday, July 30, 2012 at 7:23 AM, Deitek Systems wrote:
> Hi Serge
> I'm trying removing the filter section as follows:
> But when I want in notepad using Ctrl+E after I write the abbreviation as > follows:
> nsosm
> I can not get the expected output: declare namespace osm
> but this expands the abbreviation as follows:
> <nsosm> </ nsosm>
> How could obtain the expected output achieved ?
> Regards,
> David A Leon H
> Deitek Systems
> On Sunday, July 29, 2012 2:08:28 PM UTC-5, Sergey Chikuyonok wrote:
> 1. There's no 'xqy' filter, you shouldn't define it in 'filters' section. > Better remove 'filters' at all. > 2. You should also modify getSyntax() method so it can correctly match > syntax for required files.
> ___________________________________________
> Сергей Чикуёнок
> http://chikuyonok.ru > serge....@gmail.com
> On Sunday, July 29, 2012 at 11:03 PM, Deitek Systems wrote:
> Hi
> I'm looking for how to support XQuery in ZendCoding, is there any guide > for this?
> I've tried using the following syntax in the zend_coding.js File of > notepad++,