Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
looking for how to support XQuery in ZendCoding, is there any guide for this?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Deitek Systems  
View profile  
 More options Jul 29 2012, 3:03 pm
From: Deitek Systems <dei...@deitek.com>
Date: Sun, 29 Jul 2012 12:03:36 -0700 (PDT)
Local: Sun, Jul 29 2012 3:03 pm
Subject: looking for how to support XQuery in ZendCoding, is there any guide for this?

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++,

[Code]

'xqy': {
'filters': 'xqy',
'snippets': {
'nsosm2': 'declare namespace;'

},

'abbreviations': {
'nsosm': 'declare namespace osm;'

}
},

[Code]

but I could not get what I need.

Someone could give me some help?

Regards,

David Alejandro Leon H
Deitek Systems


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sergey Chikuyonok  
View profile  
 More options Jul 29 2012, 3:08 pm
From: Sergey Chikuyonok <serge....@gmail.com>
Date: Sun, 29 Jul 2012 23:08:28 +0400
Local: Sun, Jul 29 2012 3:08 pm
Subject: Re: looking for how to support XQuery in ZendCoding, is there any guide for this?

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Deitek Systems  
View profile  
 More options Jul 29 2012, 11:23 pm
From: Deitek Systems <dei...@deitek.com>
Date: Sun, 29 Jul 2012 20:23:03 -0700 (PDT)
Local: Sun, Jul 29 2012 11:23 pm
Subject: Re: looking for how to support XQuery in ZendCoding, is there any guide for this?

Hi Serge

I'm trying removing the filter section as follows:

[Code]
'xqy': {
'snippets': {
'nsosm2': 'declare namespace;'

},

'abbreviations': {
'nsosm': 'declare namespace osm;'
}
},

[Code]

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sergey Chikuyonok  
View profile  
 More options Jul 30 2012, 7:32 am
From: Sergey Chikuyonok <serge....@gmail.com>
Date: Mon, 30 Jul 2012 15:32:29 +0400
Local: Mon, Jul 30 2012 7:32 am
Subject: Re: looking for how to support XQuery in ZendCoding, is there any guide for this?

[As a follow-up: try to use v0.8 plugin: https://github.com/sergeche/zen-coding/downloads]

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Deitek Systems  
View profile  
 More options Jul 30 2012, 10:49 am
From: Deitek Systems <dei...@deitek.com>
Date: Mon, 30 Jul 2012 07:49:39 -0700 (PDT)
Local: Mon, Jul 30 2012 10:49 am
Subject: Re: looking for how to support XQuery in ZendCoding, is there any guide for this?

Hi Serge

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 (),

Thanks for the help,

regards,

David A Leon H
Deitek systems


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »