Custom-set highlight blocks?

  • From: "guice" < >
  • To:
  • Subject: Custom-set highlight blocks?
  • Date: Thu, 22 Mar 2012 13:16:08 +0000

This isn't exactly any supported feature anywhere, but I'd thought I'd ask 
cause I would find this very useful: custom highlight blocks.

I'd love the ability to specific parts of my code to a specific code 
highlight type. 

For example: I use a lot of MVC View files with supported ability to capture 
code, and later display it (say, in a layout). The issue is, these capture 
blocks remove the code from my view. If I have captureStart() <some css> 
captureEnd(), I don't have any way to highlight that block as CSS without 
using <style> tags. But using <style>captureStart() ... captureEnd()</style> 
now leaves empty <style></style> tag in the middle of my page, after render.

I'd love some ability to say: /* @content-highlight css */ ... /* 
@content-end */ or something of that nature to invoke the css syntax 
highlight (and thus associated code assist) just for that block of code. In 
essence, the IDE looks for <style> or /* @content-highlight css */ as the 
"CSS Code assist" start point.

Make sense?

It would be a very handy feature working with MVC framework sites (ZFW for 
us). It would also give you a feature I've yet to see in other IDEs.






Custom-set highlight blocks?

guice 03/22/2012

Project Features

About this Project

PHP was started in November 2009, is owned by Petr Jiricka, and has 236 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close