How to extend javascript language service ?<br/>I know VS2008 has already been done exisit language service for Javascript(*.js),Now i need to implement support for collapsible regions  on Javascript,just like follow statement:<br/> <pre lang=x-js>//region ... ... //endregion</pre> <br/><hr class="sig">guaike© 2009 Microsoft Corporation. All rights reserved.Tue, 07 Jul 2009 09:56:08 Z1c152d48-6465-45e2-84be-fc929933aabahttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#1c152d48-6465-45e2-84be-fc929933aabahttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#1c152d48-6465-45e2-84be-fc929933aabaguaikehttp://social.msdn.microsoft.com/Profile/en-US/?user=guaikeHow to extend javascript language service ?<br/>I know VS2008 has already been done exisit language service for Javascript(*.js),Now i need to implement support for collapsible regions  on Javascript,just like follow statement:<br/> <pre lang=x-js>//region ... ... //endregion</pre> <br/><hr class="sig">guaikeWed, 01 Jul 2009 14:03:50 Z2009-07-01T14:03:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#f7239c36-981c-439c-97c8-475dc8822bf4http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#f7239c36-981c-439c-97c8-475dc8822bf4Ed Dorehttp://social.msdn.microsoft.com/Profile/en-US/?user=Ed%20DoreHow to extend javascript language service ?<p>Currently, language services are not extensible. You would need to replace the existing language service with your own. Authoring a language service isn't trivial. The most comprehensive example would be the IronPythonIntegration sample that ships with the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=59ec6ec3-4273-48a3-ba25-dc925a45584d&amp;DisplayLang=en">Visual Studio SDK</a>.<br/><br/>A simpler implementation is the RegEx Language service sample. It's pretty lightweight, but is a good starting point. There's also a pretty good writeup on the sample at <a href="http://code.msdn.microsoft.com/RegExLangSvcDD">http://code.msdn.microsoft.com/RegExLangSvcDD</a>.<br/><br/>Sincerely,</p><hr class="sig">Ed DoreWed, 01 Jul 2009 16:52:45 Z2009-07-01T16:52:45Zhttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#88c71c50-1d2c-45ea-8726-3d17c4c3c202http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#88c71c50-1d2c-45ea-8726-3d17c4c3c202guaikehttp://social.msdn.microsoft.com/Profile/en-US/?user=guaikeHow to extend javascript language service ?Hi,Ed<br/><br/>Thank you for your reply.<br/>If language services are not extensible,<br/>How about create Visual Studio Integration Package and Is it possible to implement collapsible region,set text color etc. ?<br/><br/>Btw:I have noticed this <a title="LanguageService for built-in language" href="http://social.msdn.microsoft.com/forums/en-US/vsx/thread/c5ae18bb-d784-4768-92b3-0690e9615f72/">post</a>,<br/><br/>    Rustam Kulenov  said:<br/> <blockquote>Hi,<br/><br/>Can you give an example of using your language service with already registered extension?<br/>I suppose, that users of JavaScript Language Service might use it by explicitly specifying it's GUID. <br/>You can also provide [ProvideEditorExtension(typeof(...), &quot;.js&quot;, 100)] attribute and create your own editor factory for javaScript files.<br/></blockquote><hr class="sig">guaikeWed, 01 Jul 2009 17:59:45 Z2009-07-01T17:59:45Zhttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#41cd58b7-211d-4f1f-a384-e637bca923echttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#41cd58b7-211d-4f1f-a384-e637bca923ecEd Dorehttp://social.msdn.microsoft.com/Profile/en-US/?user=Ed%20DoreHow to extend javascript language service ?<p>You need to create a language service. A language service is implemented in a VS SDK Package.<br/><br/>Sincerely,</p><hr class="sig">Ed DoreWed, 01 Jul 2009 18:25:45 Z2009-07-01T18:25:45Zhttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#53fd0c56-2929-4384-90b1-4b1863d05dcehttp://social.msdn.microsoft.com/Forums/en-US/vsx/thread/1c152d48-6465-45e2-84be-fc929933aaba#53fd0c56-2929-4384-90b1-4b1863d05dceguaikehttp://social.msdn.microsoft.com/Profile/en-US/?user=guaikeHow to extend javascript language service ?@Ed Dore<br/><br/>How to custom  Add region to code?I mean not in  language service project<br/><hr class="sig">guaikeThu, 02 Jul 2009 09:32:05 Z2009-07-02T09:32:05Z