[RESOLVED] Change Intellisense
Hello
I don't know if it's possible, but i want to change some of the defaults intellisenses. For example when i write try and press enter, the IDE puts the catch ex as exception and the end try, but i want that the finally word it's added too.
Anyone know where to change this behavior?
Re: [RESOLVED] Change Intellisense
nope I dont mind. Its actually the same snippet as the TryCF built in one, just with a hard coding for
catch ex as exception
the default behavior made "exception" something slated to be changed after you insert the snippet.
Re: [RESOLVED] Change Intellisense
That's a cool app. And while on the subject of IDE AutoComplete I am wondering if that app can do some property functionality. (Or maybe something similar is built in?)
Lets say I have a class. Making properties is kind of annoying so I would want something that could do this:
Code:
Public Class MyApp
Private _strProperty As String 'Hit tab and it does this:
End Class
"AutoCompletes" to:
Code:
Public Class MyApp
Private _strProperty As String 'Hit tab and it does this:
Public Property strProperty() As String 'replaces underscore as property name
Get
Return _strProperty 'returns variable tabbed on
End Get
Set(ByVal value As String)
_strProperty = value 'sets variable tabbed on
End Set
End Property
End Class
Re: [RESOLVED] Change Intellisense
that is already built into VS... type the word "property" and hit tab ;)
Then tab to each "green" field you see, so you can name the variables what you want.
Re: [RESOLVED] Change Intellisense
oh.. and not to metion VB10 will have auto properties like C# does now.
Re: [RESOLVED] Change Intellisense
When I think back to all the Properties...
It's amazing how much you can know and not know at the same time. Thanks.
Re: [RESOLVED] Change Intellisense
that is why the snippet editor Bill made is cool. If you do some common thing you are typing over and over again, you can build your own snippets to insert whatever you want.