Belated Feature Request
I just purchased an image library called "Atalasoft" that contains a lot of
great imaging stuff. Anyway, it has a lot of namespaces. So as I was going
through the list of namespaces and adding them using the 'using' directives,
I suddenly thought "Wow. It would be awsome to make a store of the
namespaces I continually use in my programs and just be able to add them in
all at once".
Granted notepad solves this just fine, but hey, it's another cool feature to
list, right!?
Please sign in to leave a comment.
What do you mean? How does it solve the problem?
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Derek" <derek@btacinc.com> wrote in message
news:c984mn$bfa$1@is.intellij.net...
of
directives,
in
>
to
>
>
I think the answer is CtrlC, CtrlV:)
What is needed is a file template that inserts appropriate usings. I think,
this could be achieved at present by defining your own live template and
running it on every newly created empty file.
--
Andrey Simanovsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c9f2v0$7a0$1@is.intellij.net...
>
>
>
going
feature
>
>
Doesn't VS allow custom file templates?
--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Andrey Simanovsky (JetBrains)" <ands@jetbrains.com> wrote in message
news:c9f4bk$h2r$1@is.intellij.net...
>
them
think,
>
>
>
>
lot
>
>
Not sure it allows custom file templates,
but you definitely can edit embedded templates.
"Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in message
news:c9f78e$5q2$1@is.intellij.net...
>
>
>
>
message
>
>
VS Does not allow custom templates unless you go and hack the template
folders, which isn't very safe in my opinion. Notepad solved the problem
because I just copied all the namespaces I wanted into a Notepad file and
could copy and paste them. It did not really 'speed' things up at all, it
just is nice to be able to add all my namespaces easily. That's all.
"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c9f7bj$661$1@is.intellij.net...
>
>> > What is needed is a file template that inserts appropriate usings.
>>
>> Doesn't VS allow custom file templates?
>>
>> --
>> Valentin Kipiatkov
>> Chief Scientist, Vice President of Product Development
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>
>>
>> "Andrey Simanovsky (JetBrains)" <ands@jetbrains.com> wrote in message
>> news:c9f4bk$h2r$1@is.intellij.net...
>> > > What do you mean? How does it solve the problem?
>> > I think the answer is CtrlC, CtrlV:)
>> >
>> > > > I suddenly thought "Wow. It would be awsome to make a store of the
>> > > > namespaces I continually use in my programs and just be able to add
>> them
>> > > in
>> > > > all at once".
>> > What is needed is a file template that inserts appropriate usings. I
>> think,
>> > this could be achieved at present by defining your own live template
>> > and
>> > running it on every newly created empty file.
>> >
>> > --
>> > Andrey Simanovsky
>> > Software Developer
>> > JetBrains, Inc
>> > http://www.jetbrains.com
>> > "Develop with pleasure!"
>> >
>> >
>> >
>> > "Valentin Kipiatkov (JetBrains)" <valentin@intellij.com> wrote in
>> > news:c9f2v0$7a0$1@is.intellij.net...
>> > > > Granted notepad solves this just fine
>> > >
>> > >
>> > > --
>> > > Valentin Kipiatkov
>> > > Chief Scientist, Vice President of Product Development
>> > > JetBrains, Inc
>> > > http://www.jetbrains.com
>> > > "Develop with pleasure!"
>> > >
>> > > "Derek" <derek@btacinc.com> wrote in message
>> > > news:c984mn$bfa$1@is.intellij.net...
>> > > > I just purchased an image library called "Atalasoft" that contains
>> > > > a
>> lot
>> > > of
>> > > > great imaging stuff. Anyway, it has a lot of namespaces. So as I
>> > > > was
>> > going
>> > > > through the list of namespaces and adding them using the 'using'
>> > > directives,
>> > > >
>> > > > Granted notepad solves this just fine, but hey, it's another cool
>> > feature
>> > > to
>> > > > list, right!?
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
>
"Derek" <derek@btacinc.com> wrote in message :
isn't it easier to use live templates?
go:
resharper >> options >> Live Templates.
>> click New
Then in the template edit window, fill in for Abbrevation: "MyUsings"
In Description field fill in : "My notepad usings" (or anything else)
Than paste your notepad stuff into big text field, and you are done.
next time, just use ctrl-j, and select MyUsings from the list..
hth
-j