FT: Acronyms like Visual Assist X
Hi,
If it would be possible to combine with the current features, Acronymns
like in Visual Assist would be interesting:
in case of:
String LongVariableName = "";
typing "lvn" would automatically suggest to use "LongVariableName"
Thanks,
Wiebe Tijsma
Please sign in to leave a comment.
Hello Wiebe,
Interesting suggestion.
With the present features you can add a template "acronym" with the following
text:
string $NAME$ = "$NAME$";
Thanks,
Andrey Simanovsky
Hello Wiebe,
Forget about my previous post - I did not catch what you meant.
Thanks,
Andrey Simanovsky
Hello Wiebe,
personally, I'd like this feature. It is often convenient when typing the
name
of a type : 'ccp' instead of 'CustomColorsProvider'. Note that we already
have
this kind of acronyms in the 'Goto Type' feature - you can use
such acronyms there.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi Dmitry & Andrey,
Thanks for the reaction...
It could be a good feature, though it could be difficult to implement it
in a non-obtrusive but functional way, I mean the absolutely greatest
Resharper feature I know is that it never (well, hardly ever) does
anything I don't want it to do.
maybe the "Acronym Matches" results could also include the variable
names, not only type names?
xec<ctrl+space>
// becomes
XsltExtensionCollection | ;
xec<ctrlspace, enter> myX<ctrlspace, enter> = new ; // becomes: XsltExtensionCollection myXsltExtensionCollection = new XsltExtensionCollection(); and: mxeA value ]]>
becomes:
myXsltExtensionCollection.Add( | );
// (where the |(pipe) is the
// cursor, doing templates Delphi style ;-):
or maybe the results popup could also be shown when there's a locally
declared variable with 100% match?
BTW, I tried it with the 'Goto Type' feature, but didn't get it to work
(tried for example to type "xe" to move to XsltExtension, but showed up
red without a match).
Wiebe Tijsma
Dmitry Shaporenkov wrote:
>> Hi,
>>
>> If it would be possible to combine with the current features,
>> Acronymns like in Visual Assist would be interesting:
>>
>> in case of:
>> String LongVariableName = "";
>> typing "lvn" would automatically suggest to use "LongVariableName"
>>
>> Thanks,
>>
>> Wiebe Tijsma
>>
Try typing XE (in uppercase). This should help.
Hello Wiebe,
Sorry, it was not mentioned that upper-case should be used for acronyms in
Go to Class/File. You can also use wildcards('*') or add space to match
the end of type/file name in Go to Class/File.
The main problem of acronyms is that they may start getting in the way. Especially,
acronyms of names consisting of one or two words. On the other hand, it is
certainly a good time-saver.
>> Hello Wiebe,
>>
>> personally, I'd like this feature. It is often convenient when typing
>> the name of a type : 'ccp' instead of 'CustomColorsProvider'. Note
>> that
>> we already have
>> this kind of acronyms in the 'Goto Type' feature - you can use such
>> acronyms there.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hi,
>>>
>>> If it would be possible to combine with the current features,
>>> Acronymns like in Visual Assist would be interesting:
>>>
>>> in case of:
>>> String LongVariableName = "";
>>> typing "lvn" would automatically suggest to use "LongVariableName"
>>> Thanks,
>>>
>>> Wiebe Tijsma
>>>
Thanks,
Andrey Simanovsky
I just want to throw in that this is the best feature in VAX. I suggest
trying it out. I love RS and can't wait for 2.0EAP, but I would gladly
wait if something like this were on its way.
John
Andrey Simanovsky (JetBrains) wrote:
>> Hi Dmitry & Andrey,
>>
>> Thanks for the reaction...
>>
>> It could be a good feature, though it could be difficult to implement
>> it in a non-obtrusive but functional way, I mean the absolutely
>> greatest Resharper feature I know is that it never (well, hardly ever)
>> does anything I don't want it to do.
>>
>> maybe the "Acronym Matches" results could also include the variable
>> names, not only type names?
>>
>> xec<ctrl+space>
>>
>> // becomes
>>
>> XsltExtensionCollection | ;
>>
>> xec<ctrlspace, enter> myX<ctrlspace, enter> = new ; >> >> // becomes: >> >> XsltExtensionCollection myXsltExtensionCollection = new >> XsltExtensionCollection(); >> and: >> >> mxeA value >> >> becomes: >> >> myXsltExtensionCollection.Add( | ); >> >> // (where the |(pipe) is the >> // cursor, doing templates Delphi style ;-): >> or maybe the results popup could also be shown when there's a locally >> declared variable with 100% match? >> >> BTW, I tried it with the 'Goto Type' feature, but didn't get it to >> work (tried for example to type "xe" to move to XsltExtension, but >>]]> showed up red without a match).
>>
>> Wiebe Tijsma
>>
>> Dmitry Shaporenkov wrote:
>>
>>> Hello Wiebe,
>>>
>>> personally, I'd like this feature. It is often convenient when typing
>>> the name of a type : 'ccp' instead of 'CustomColorsProvider'. Note
>>> that
>>> we already have
>>> this kind of acronyms in the 'Goto Type' feature - you can use such
>>> acronyms there.
>>> Regards,
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>
>>>> Hi,
>>>>
>>>> If it would be possible to combine with the current features,
>>>> Acronymns like in Visual Assist would be interesting:
>>>>
>>>> in case of:
>>>> String LongVariableName = "";
>>>> typing "lvn" would automatically suggest to use "LongVariableName"
>>>> Thanks,
>>>>
>>>> Wiebe Tijsma
>>>>
Hello John,
We may add this feature after the EAP is started.
>> Hello Wiebe,
>>
>> Sorry, it was not mentioned that upper-case should be used for
>> acronyms in Go to Class/File. You can also use wildcards('*') or add
>> space to match the end of type/file name in Go to Class/File.
>>
>> The main problem of acronyms is that they may start getting in the
>> way. Especially, acronyms of names consisting of one or two words. On
>> the other hand, it is certainly a good time-saver.
>>
>>> Hi Dmitry & Andrey,
>>>
>>> Thanks for the reaction...
>>>
>>> It could be a good feature, though it could be difficult to
>>> implement it in a non-obtrusive but functional way, I mean the
>>> absolutely greatest Resharper feature I know is that it never (well,
>>> hardly ever) does anything I don't want it to do.
>>>
>>> maybe the "Acronym Matches" results could also include the variable
>>> names, not only type names?
>>>
>>> xec<ctrl+space>
>>>
>>> // becomes
>>>
>>> XsltExtensionCollection | ;
>>>
>>> xec<ctrlspace, enter> myX<ctrlspace, enter> = new ; >>> >>> // becomes: >>> >>> XsltExtensionCollection myXsltExtensionCollection = new >>> XsltExtensionCollection(); >>> and: >>> mxeA value >>> >>> becomes: >>> >>> myXsltExtensionCollection.Add( | ); >>> >>> // (where the |(pipe) is the >>> // cursor, doing templates Delphi style ;-): >>> or maybe the results popup could also be shown when there's a >>> locally >>> declared variable with 100% match? >>> BTW, I tried it with the 'Goto Type' feature, but didn't get it to >>> work (tried for example to type "xe" to move to XsltExtension, but >>> showed up red without a match). >>> >>> Wiebe Tijsma >>> >>> Dmitry Shaporenkov wrote: >>> >>>> Hello Wiebe, >>>> >>>> personally, I'd like this feature. It is often convenient when >>>> typing >>>> the name of a type : 'ccp' instead of 'CustomColorsProvider'. Note >>>> that >>>> we already have >>>> this kind of acronyms in the 'Goto Type' feature - you can use such >>>> acronyms there. >>>> Regards, >>>> Dmitry Shaporenkov >>>> JetBrains, Inc >>>> http://www.jetbrains.com >>>> "Develop with pleasure!" >>>>> Hi, >>>>> >>>>> If it would be possible to combine with the current features, >>>>> Acronymns like in Visual Assist would be interesting: >>>>> >>>>> in case of: >>>>> String LongVariableName = ""; >>>>> typing "lvn" would automatically suggest to use "LongVariableName" >>>>> Thanks, >>>>> Wiebe Tijsma >>>>> >> Thanks, >>]]> Andrey Simanovsky
Thanks,
Andrey Simanovsky
Hello Wiebe,
I wish this feature very much. Also searching in drop-down lists and file
structure using acronyms would be great.
WT> Hi,
WT>
WT> If it would be possible to combine with the current features,
WT> Acronymns like in Visual Assist would be interesting:
WT>
WT> in case of:
WT> String LongVariableName = "";
WT> typing "lvn" would automatically suggest to use "LongVariableName"
WT>
WT> Thanks,
WT>
WT> Wiebe Tijsma
WT>
Sincerely,
Ilya Ryzhenkov
Hey that's about what I was looking for, just implemented at more
places... thanks
Maxim Babenko wrote:
>> BTW, I tried it with the 'Goto Type' feature, but didn't get it to
>> work (tried for example to type "xe" to move to XsltExtension, but
>> showed up red without a match).