Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

0

Add new comment lines enhancement

Justin Ma 12 years ago 0

When I add new  block comment lines, for example:

/**

*  This is a comment line for the method.

*/

After hitting the return key at the end of line "This is a comment line for the method.". I hope that sublime can automatically add "*  " at the beginning of my new comment line, so that I can type the comment  directly.

It's a simple but very convenience feature.

0

Browserbased Port - Prehaps using firepad.

Liam Mitchell 11 years ago 0

Hey Sublime,

I love this editor and so does every other coder/designer I know. I am curious if you have considered a web-browser port, prehaps using firepad?
http://www.firepad.io/  I was thinking of creating a node.js browser bassed development platform and the editing features of sublime just cant be bet. Of course there would have to be a site lisence or something.

0

Custom shortcut interferes with system shortcut in save dialog on Mac OS X

Ionuț G. Stan 12 years ago 0

I have assigned custom shortcuts to the swap_line_up/down commands. The shortcuts are alt+up_arrow and alt+down_arrow. These shortcuts are also used by Mac OS X to navigate to the beginning, respectively to the end of a list of files in Finder or in Open or Save dialogs.


The problem appears when I try to "Save As..." a file or project and in the opened dialog I try to use the system's shortcut. Sublime seems to intercept the keystrokes and doesn't let them bubble to the OS although the editor doesn't have the focus anymore.


0

Improper php indenting near anonymous function

Dave Lighthart 12 years ago 0

The following block indents improperly.  The problem appears related to the length of the anonymous function in the array.  If some of the chain selectors are combined, the indent works as expected.


<?php

namespace \App\AppBundle\Form;

use Symfony\Component\Form\AbstractType;

use Symfony\Component\Form\FormBuilderInterface;

use Symfony\Component\OptionsResolver\OptionsResolverInterface;

class ServiceType extends AbstractType

{

    public function buildForm(FormBuilderInterface $builder,array $options)

    {

        if ($sc->isGranted("ROLE_ADMIN")){

        } else {

            $builder->add('procedureCode'

                ,null

                ,array(

                    'empty_value'         => ''

                    ,'label'               => 'Procedure'

                    ,'label_attr'          => array('class' => 'txtl')

                    ,'attr'                => array('class' => 'select0')

                    ,'query_builder'       => function ($repository) use ($formusorid){

                        $qb = $repository->createQueryBuilder('p');

                        $qb->innerJoin('p.role', 'r')

                        ->innerJoin('r.usor','u','WITH',$qb->expr()->eq('u.id', ':usorid'))

                        ->leftJoin('AppAppBundle:Service','s','WITH',$qb->expr()->eq('s.procedure', 'p.id'))

                        ->setParameter('usorid', $formusorid)->select('p, COUNT(s) AS HIDDEN total')

                        ->addGroupBy('p')

                        ->addOrderBy('total' ,'DESC')->addOrderBy('p.code');

                        return $qb;

                    }));

}

if ($sc->isGranted("ROLE_ADMIN") or $otherview){

}

public function setDefaultOptions(OptionsResolverInterface $resolver)

{

    $resolver->setDefaults(array(

        'data_class' => '\App\AppBundle\Entity\Service'

        ));

}

public function getName()

{

    return '_App_Appbundle_Servicetype';

}

}


0

Include X recently opened files in "Goto Anything"

Chris Sullins 11 years ago 0

Instead of having to go through menus to get to "File > Open Recent", include the most recent (~20?) files in "Goto Anything". It currently seems to only include open files and files in project.

0

ALT+Mouse down for select columns

ppp ddd 12 years ago 0
Please, add feature: alt+mousedown for selection columns(like notepad++) and do not go to the end of next line, if it shorter then started line of selection (like alt+ctrl+up).
0

autocomplete Framework & CMS based [Project basis] | may be as plugin

Md Rashidul Islam 12 years ago 0

For example when I work with Ruby on Rails or Laravel PHP framework or Joomla CMS or WP, they have many methods, classes, functions..It would be great to have the auto-complete option. For example i type the class name Base:: then it should display a lists of the variables and methods of that class.


Kindly Refer to: http://www.microsoft.com/Web/webmatrix/developer.aspx

AUTO COMPLETION AND TYPE THROUGH


I need it bad. Then it would have no issues remain to be the most awesome editor. Though already most awesome but I really miss this feature. When works with Eclipse or Dreamweaver, they provide nice elegant auto-complete feature


I don't know it may be difficult. Then may be developed as plugin. I'm sorry, If i can, then  i would have develop. But i don't know Python

0

Unable to property open file at line on OSX

JulesRobichaudGagnon 11 years ago updated 11 years ago 1

On Mac OSX the syntax "<filepath>:<line>" does not work property. 


Examples: 

1. "open -a /Applications/Sublime\ Text.app <filepath>:<line>" Does not work claims that the file does not exist

2.  "open -a /Applications/Sublime\ Text.app filepath --args :<line>" It just ignores the  ":<line>"

3. "/Applications/Sublime\ Text.app/Content/MacOS/Sublime\ Text <filepath>:<line>" Opens a new application instance.


I recommend another complementary syntax such as "-l <line>" or "--line <line>". The same goes for column.

0

Searching for ucastnik should highlight účastník

Marek Andreánsky 11 years ago updated by Sven Axelsson 11 years ago 1

Searching for ucastnik should highlight účastník - in other words when case sentisitivity is disable in search it should also take special Czech and Slovak characters as case insensitive.

č = c, ď = d, ô = o and so on.