string.Empty
Hi all
string.Empty
Purpose:
This plugin highlights the string literal "" with a warning and provides a context action to convert it to string.Empty.
Best regards
Jakob Christensen
Attachment not added (general error): "StringEmpty.zip"
Please sign in to leave a comment.
Hello Jakob,
I guess you have to take a look at the 'Generate COM Interop Wrapper' plugin
shipped with recently released ReSharper PowerToys pack.
This plugin provides a context action, and its source code should be enough
for you to achieve your goal. If you have any questions, don't
hesitate to ask here.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Dmitry,
Sorry - I don't quite follow your comment...
I have made the plugin and attached it to the post for all to download -
perhaps that isn't quite clear from my post.
Same with the Parameter Asserts plugin.
--Jakob
>> Hi all
>>
>> string.Empty
>>
>> Purpose:
>> This plugin highlights the string literal "" with a warning and
>> provides a context action to convert it to string.Empty.
>> Best regards
>> Jakob Christensen
Hello Jakob,
Oh, that's great! Sorry, I've completely missed your point in your original
post. But if one doesn't notice the attachment to that post (and I didn't),
it is really not easy to understand that you were talking about a ready plugin
and not about a plugin idea ;)
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Hello Jakob,
>>
>> I guess you have to take a look at the 'Generate COM Interop Wrapper'
>> plugin
>> shipped with recently released ReSharper PowerToys pack.
>> This plugin provides a context action, and its source code should be
>> enough
>> for you to achieve your goal. If you have any questions, don't
>> hesitate to ask here.
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hi all
>>>
>>> string.Empty
>>>
>>> Purpose:
>>> This plugin highlights the string literal "" with a warning and
>>> provides a context action to convert it to string.Empty.
>>> Best regards
>>> Jakob Christensen
Hello Dmitry,
Yeah - you are right - the post text was a bit too formal anyway.
And for your information: The new PowerToys really rocks - I made this plugin
in less than an hour using the source from the PowerToys.
BTW: It could be real nice, if JetBrains had some sort of page that linked
to user-made plugins. There are some great ones out there, but you never
notice, unless you subscribe to this news group. And with the new PowerToys,
I hope we are going to see many more.
--Jakob
>> Hello Dmitry,
>>
>> Sorry - I don't quite follow your comment...
>>
>> I have made the plugin and attached it to the post for all to
>> download - perhaps that isn't quite clear from my post.
>>
>> Same with the Parameter Asserts plugin.
>>
>> --Jakob
>>
>>> Hello Jakob,
>>>
>>> I guess you have to take a look at the 'Generate COM Interop
>>> Wrapper'
>>> plugin
>>> shipped with recently released ReSharper PowerToys pack.
>>> This plugin provides a context action, and its source code should be
>>> enough
>>> for you to achieve your goal. If you have any questions, don't
>>> hesitate to ask here.
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Hi all
>>>>
>>>> string.Empty
>>>>
>>>> Purpose:
>>>> This plugin highlights the string literal "" with a warning and
>>>> provides a context action to convert it to string.Empty.
>>>> Best regards
>>>> Jakob Christensen
Hello Jakob,
We are going to extend Plugin Development pages in the near future, and user-supplied
plugins will have dedicated page for them. Of course, plugins with source
code will take priority and may be included in the future PowerToys releases
:)
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
JC> Hello Dmitry,
JC>
JC> Yeah - you are right - the post text was a bit too formal anyway.
JC>
JC> And for your information: The new PowerToys really rocks - I made
JC> this plugin in less than an hour using the source from the
JC> PowerToys.
JC>
JC> BTW: It could be real nice, if JetBrains had some sort of page that
JC> linked to user-made plugins. There are some great ones out there,
JC> but you never notice, unless you subscribe to this news group. And
JC> with the new PowerToys, I hope we are going to see many more.
JC>
JC> --Jakob
JC>
>> Hello Jakob,
>>
>> Oh, that's great! Sorry, I've completely missed your point in your
>> original
>> post. But if one doesn't notice the attachment to that post (and I
>> didn't),
>> it is really not easy to understand that you were talking about a
>> ready plugin
>> and not about a plugin idea ;)
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello Dmitry,
>>>
>>> Sorry - I don't quite follow your comment...
>>>
>>> I have made the plugin and attached it to the post for all to
>>> download - perhaps that isn't quite clear from my post.
>>>
>>> Same with the Parameter Asserts plugin.
>>>
>>> --Jakob
>>>
>>>> Hello Jakob,
>>>>
>>>> I guess you have to take a look at the 'Generate COM Interop
>>>> Wrapper'
>>>> plugin
>>>> shipped with recently released ReSharper PowerToys pack.
>>>> This plugin provides a context action, and its source code should
>>>> be
>>>> enough
>>>> for you to achieve your goal. If you have any questions, don't
>>>> hesitate to ask here.
>>>> Dmitry Shaporenkov
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> Hi all
>>>>>
>>>>> string.Empty
>>>>>
>>>>> Purpose:
>>>>> This plugin highlights the string literal "" with a warning and
>>>>> provides a context action to convert it to string.Empty.
>>>>> Best regards
>>>>> Jakob Christensen
Hello Ilya,
Really cool!
Especially since I have included the source for my plugins, but you couldn't
read that from my initial posts :-(.
--Jakob
JC>> Hello Dmitry,
JC>>
JC>> Yeah - you are right - the post text was a bit too formal anyway.
JC>>
JC>> And for your information: The new PowerToys really rocks - I made
JC>> this plugin in less than an hour using the source from the
JC>> PowerToys.
JC>>
JC>> BTW: It could be real nice, if JetBrains had some sort of page that
JC>> linked to user-made plugins. There are some great ones out there,
JC>> but you never notice, unless you subscribe to this news group. And
JC>> with the new PowerToys, I hope we are going to see many more.
JC>>
JC>> --Jakob
JC>>
>>> Hello Jakob,
>>>
>>> Oh, that's great! Sorry, I've completely missed your point in your
>>> original
>>> post. But if one doesn't notice the attachment to that post (and I
>>> didn't),
>>> it is really not easy to understand that you were talking about a
>>> ready plugin
>>> and not about a plugin idea ;)
>>> Dmitry Shaporenkov
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Hello Dmitry,
>>>>
>>>> Sorry - I don't quite follow your comment...
>>>>
>>>> I have made the plugin and attached it to the post for all to
>>>> download - perhaps that isn't quite clear from my post.
>>>>
>>>> Same with the Parameter Asserts plugin.
>>>>
>>>> --Jakob
>>>>
>>>>> Hello Jakob,
>>>>>
>>>>> I guess you have to take a look at the 'Generate COM Interop
>>>>> Wrapper'
>>>>> plugin
>>>>> shipped with recently released ReSharper PowerToys pack.
>>>>> This plugin provides a context action, and its source code should
>>>>> be
>>>>> enough
>>>>> for you to achieve your goal. If you have any questions, don't
>>>>> hesitate to ask here.
>>>>> Dmitry Shaporenkov
>>>>> JetBrains, Inc
>>>>> http://www.jetbrains.com
>>>>> "Develop with pleasure!"
>>>>>> Hi all
>>>>>>
>>>>>> string.Empty
>>>>>>
>>>>>> Purpose:
>>>>>> This plugin highlights the string literal "" with a warning and
>>>>>> provides a context action to convert it to string.Empty.
>>>>>> Best regards
>>>>>> Jakob Christensen