Hi,

Some time ago I ran into a problem with typing left brackets into comment pane.

As you know, code blocks in Pillar are marked with
[[[

However comment pane is subject to regular code completion of NECController, 
which means that every time I type '[' NEC converts it into '[ ]'. So if I type 
'[[[' then I get '[ [ [ ] ] ]'. Which is good in code, but not here.

Now considering we are pushing for Pillar in comments I think this should be 
resolved. However I don't know how.

a) disable code completion for comments (trivial, but loosing CC
b) subclass NECController to disable this. This is probably lot more complex, 
because the current one is hard-wired via Smalltalk tools
c) add configuration option to NECControler so it can run in different modes 
(still a lot of work)

d) add setting to options to disable/enable CC in comments  and let users 
decide.

d) other better, faster, easier solution?

>From future perspective b) could be used to provide more extensive code 
>completion, specifically for Pillar.

Thanks,
Peter 

Reply via email to