-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move breakpoint resolver down into Features #28321
Move breakpoint resolver down into Features #28321
Conversation
Do these types have dependencies on the Editor? Just wondering if we can move them even lower, to the Features layer. |
I think that would be possible but I'm not sure whether it matters 🙂 |
@mhutch Generally, this is useful because it really helps understand the layering. It also prevents people from unintentionally taking on dependencies later that aren't appropriate (at least without some discussion). PLacing this in features would mean this couldn't accidently take an editor dependency without people strongly considering if that was an ok idea or not. |
Yeah, we should move this to Features at least, since we really don't want this accidentally taking an editor dependency. |
3e04c23
to
cc933f8
Compare
Okay, moved it! |
cc933f8
to
9b43615
Compare
9b43615
to
b534032
Compare
Fixed conflicts. Failures do not appear to be related. @jasonmalinowski what do i need to do to move this along? |
@jinujoseph can we get @mhutch a PR buddy for this one? |
@tmat can you help buddy this forward |
bump? |
bump |
...rFeatures/VisualBasicTest/Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests.vbproj
Outdated
Show resolved
Hide resolved
src/EditorFeatures/CSharpTest/Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests.csproj
Outdated
Show resolved
Hide resolved
Looks good modulo a couple of nits. We need to be careful with merging though as this will break F# and possibly TypeScript. We need to coordinate. @sharwell @jasonmalinowski @TIHan @amcasey How about
We can avoid the branch if we are willing to block our insertions while waiting on TS and F# changes. |
FYI @minestarks |
test this please |
@tmat speaking for TypeScript: please, pretty please can you consider doing this breaking change in two stages, where you duplicate the API, mark the old one as obsolete, and THEN after we've moved over, remove the old API? Coordinated insertions are have been a routine headache for us. Let's discuss over e-mail if you wish. |
Bump :) |
@mhutch Still on my radar. We are working on a system that will allow us to make changes like this that affect multiple components across VS easier. Once we have that system in place we will merge this change. |
b534032
to
ab004cf
Compare
@mhutch The code base is now ready for this change. I have resolved conflicts. |
@dotnet/roslyn-ide Anybody wants to take a look? |
a22e5d5
to
8098cfe
Compare
Moves the
IBreakpointResolutionService
implementations from the VisualStudio layer down into the EditorFeatures layer. They don't have VS dependencies, and the interface is already defined in this layer. This gives VSMac the option to use this service without code duplication.Brings IProximityExpressionsService and its implementations along because it doesn't really have any reason to be in the higher layer either and could also potentially be useful.