CodeKit2 icon indicating copy to clipboard operation
CodeKit2 copied to clipboard

Request: Local variables

Open Martinomagnifico opened this issue 11 years ago • 4 comments
trafficstars

How about having a select button to assign local variables? For example, I have a list of variables that should be rendered in my view. Right now, I do that in Jade, but that doesn't allow multiline, so no pretty js/json for my vars. I have to stringify it first. Local variables in CodeKit would solve that.

Martinomagnifico avatar Mar 20 '14 20:03 Martinomagnifico

Sorry about the close-reopen thing. I wanted to add that it is a Request, not a bug.

Martinomagnifico avatar Mar 20 '14 20:03 Martinomagnifico

+1, Jade is useless without it

Grawl avatar Apr 07 '14 13:04 Grawl

+1. +100 if i can. :p

bravocado avatar Dec 20 '14 17:12 bravocado

+1, jade compiler has a --obj option in CLI which accepts json file. It would be easy addition just to check if there is same filename same as jade but with json extension and include it as locales using --obj option.

gregorybrzeski avatar Nov 04 '15 20:11 gregorybrzeski