Sublime Forum

Auto-completing methods and function toggling

#1

hello,

I am just starting so excuse me if something is evident and cannot see it. For what I have seen so far is excellent! but…

Is there a function to let me automatically see (and choose) all the methods/properties associated to an object (like Eclipse or Netbeans does)? exampe: if I type Map.L , i get a list (Map.Line, Map.Loop…), but I wanna just type Map. and get all list (Map.OOps, Map.Assoc…)

Another question: if I write this, I wanna toogle the function, hidding what’s inside { }

for (var i = 0, latlngs = ], len = route.length; i < len; i++)
	 {
		do_whatever()
	}

   function ()
  {
 alert('asdfa')
  }

first, the symbol (a triangle) showing where a function starts and finishes is not allways evident.
Moreover, sometimes it’s inexistent or associated to other variables… (Javascript syntax is set)

i would also like to transform function x () { alert(‘asdf’); }

to the more readable formula…

function x ()
{
alert(‘asdf’);
}

Some function for that?

thanks in advance,

Pere

0 Likes