Comments (26)
Yes, it's c#
from dpack.
Interesting. Could you post your custom snippets file? Thanks.
from dpack.
Snippets to work with xpo of devexpress
from dpack.
Confirmed. The whole Surround With feature is a wrapper around subset of VS's surround with + dedicated commands with their own shortcuts. It does fall apart when custom snippets are added to the mix.
I have a preliminary patch ready but I'll need to do quite a bit more testing, including other languages that Surround With is supported for. It'll probably be a month or so before I can get a patch out. I'll keep you posted. Thanks.
from dpack.
DPack is fantastic I use it since VS 2015 and if I can contribute in some test...
from dpack.
Here's an updated version that should finalize that Surround With issue. Give it a try and let me know if you run into any issues.
from dpack.
Thank you. It works as expected a bit slow but it works.
Is it possible to add also "using" in context menu?
from dpack.
Thank you. It works as expected a bit slow but it works. Is it possible to add also "using" in context menu?
Yeah, I can see that. Old DPack used to do its own formatting instead of relying on built in snippets. I almost dropped Surround With feature for VS 2022 and added this current workaround, The downside is that it's slower, doesn't allow for additional formatting, and not supported for VB of all things,
I'll look into adding using.
from dpack.
OK. Doesn't matter. Thank you again for your work and you add-on :-)
from dpack.
Hi,
I see little bug
when ypu decide to surround with "region" it puts "if" snippets
Yuriy
from dpack.
That's for C# isn't it? Thanks.
from dpack.
Check Insert Snippet built-in command, select Visual C#, and report back on what you get. Here's what I'm seeing here:
from dpack.
Yes I know how to do this but how many clicks I do have to arrive to a #region ? :-)
Your extension allow me to have job done in 2 clicks also if it's a bit slow
from dpack.
That's not what I was looking for. I basically wanna see a screenshot similar to mine taken on your machine. Thanks.
from dpack.
These are snapshoot sequence for "surround with" from VS
from dpack.
Quick update - I'm gonna try resurrecting pre-VS2022 version that doesn't rely on built-in templates.
from dpack.
Resurrected older Surround With functionality. Give new beta a try and let me know how that works for you. Thanks.
from dpack.
Thank you I'll try it immediately
from dpack.
After installation v2.5.2.3 I don't see anymore DPack menu Surround with
from dpack.
Try restarting VS. I had noticed the same thing here while testing it but couldn't reproduce it - it'd be missing and then back after restart. I'll take a closer look if that still persists for you.
from dpack.
No, neither after restart there is no "Surround with" menu. I have aslo tried to see if this menu was hidden but I could not find it
from dpack.
Identified a breaking change. Will have another beta out in a few days. Thanks.
from dpack.
Give new beta a try and let me know how it turns out. Thanks.
from dpack.
Thank you I'll try immediately
from dpack.
Everything is ok, Surround works as expected and its also very quick. Thak you !!!
from dpack.
New release should be out shortly.
from dpack.
Related Issues (20)
- Beta period is expired. HOT 4
- Home button does not work in search textbox HOT 3
- Solution Backup feature HOT 1
- Cannot find sql files HOT 12
- Can't assign bookmarks when using a CMake project HOT 6
- Can't donate HOT 2
- Bookmarks are not restored when the project is reopened HOT 3
- File browser not showing files in "solution items" folder HOT 15
- Where are the logs being saved when setting "Enable logging"? HOT 1
- Alt+U does not work when using with VS2022 HOT 10
- Please support ARM64 extensions HOT 3
- Using VS2019 & VS2022 in parallel will result in deregistration of keyboard binding for the currently not used VS version HOT 1
- Add dpack actions in vsvim dotfiles
- v4.5.3 does not work with Visual Studio 2022 HOT 4
- File Browser results in double HOT 31
- Function list is empty in Code Browser - Methods HOT 3
- File Browser (Alt+U) always takes few seconds to start HOT 24
- The DPack dialog can not pop up in VS 2022 HOT 2
- App.config files don't open HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpack.