Expression > Página Inicial dos Fóruns > Expression Studio > Words, spaces, and underscores
Fazer uma PerguntaFazer uma Pergunta
 

PerguntaWords, spaces, and underscores

  • quinta-feira, 14 de maio de 2009 5:55frosty1433 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    I'm actually using Expression Web 2, but I'm assuming this minor problem is consists throughout the entire Expression suite.

    I have the following constant in PHP; "TESTING_123". If I want to quickly copy and paste that entire constant, I double click it. But the only thing that is highlighted is "TESTING", "_123" is left off. If I have the following "function foo ($var1, $var2)", and I want to quickly copy and paste "foo" for use throughout the script, I try the same method, but I get "foo ". (with the space)

    These behaviors seem backwards to me. Is it at all possible to be able to select the entire constant, and/or select just the name of the function without the space? (through some option) I looked throughout page editor options, but I found nothing about it.

    I believe it's these very minor imperfections, that in the long run, make it inconvenient to a perfectionist like me. I also realize this is the behavior of a browser, or a normal text editor. And it that case, it can be convenient. However, we're modifing code which doesn't use regular grammer, we're dealing with code that's very different from a normal human language. I think a code editor should acknowledge that, and realize "this_this" means "this_this" and not "this this". "function" means "function", not "function is part of a sentence". Most other code editors that I have tried, do it correctly, or what seems to me to be correct.

    Are there any ways I can suggest a feature request or behavior change for Expression?

Todas as Respostas

  • quinta-feira, 14 de maio de 2009 6:42frosty1433 Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Another example about the doubling clicking words, followed by a space:
    I have the following PHP array; "$test['var']". Say I want to rename "$variable = $test['var'];" to "$var = $test['var'];". I double click 'var' within the array, and then double click 'variable' and paste. It becomes "$var= $test['var'];". (without a space) Very minor, but being a perfectionist it's also very hard to ignore that.
    • Editadofrosty1433 quinta-feira, 14 de maio de 2009 6:43typo
    •