Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 11057 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
More often than not, I prefer to edit Android .axml files with the source code editor in preference to the layout editor.
Could we please get an option to make the source code editor the default?
See also: http://forums.xamarin.com/discussion/comment/7279#Comment_7279
+1 for this request - will safe 2 minutes each working day .D
+1 xml autocompletion is key
Might as well +1 this again. I've been looking for this exact feature.
+1 (With code folding!)
*** Bug 25802 has been marked as a duplicate of this bug. ***
*** Bug 23849 has been marked as a duplicate of this bug. ***
*** Bug 6441 has been marked as a duplicate of this bug. ***
Another vote for this feature. I Looked for this feature, found this request, logged in and typed this - and still waiting for the Designer.
+5! Designer hardly ever works or takes forever, switching to source causes VS to hang.
@Niels Would you be willing to file a bug with logs for the VS hang? Thanks!
I already did: Bug 57980
It's worth noting that you can right-click on an .axml file and "Open-With -> Source Code Editor".
That said "Confirming" as an enhancement request since Source Code Editor cannot be set as the double-click default.
"Open with sourcecode editor" only works from solution explorer, not from search results. So that is not a good workaround.
+1, we almost always use search results to navigate to a file. There really is no good workaround.
Surprisingly, I did not see 'open with' from search window as an existing enhancement request either so I created it here: https://bugzilla.xamarin.com/show_bug.cgi?id=58241
Also bumping the priority on this since there is a ton of interest and my workaround has been shown inadequate :)
Quick note: There is an option to right click "open with" -> source code editor. However, there is no intellisense, etc. It is purely an xml editor at that point.
I think you're referring to right clicking in the solution pad right? Again, the problem is that you can't do that from search results. If you open an axml file from the search bar it does not highlight that file in the solution pad. So you have to hunt for that file in the solution pad before you can right click to "open with". A real world project has many axml files; it is not practical to hunt for them in the solution pad each time. So we are stuck with the default, which is the layout editor.
Agreed, that doesn't apply in the search window or search results windows. I feel like those working on this have small sample projects with 10 axml files so they don't feel the pain that we do with hundreds or thousands of axml files in a real world app. Really the search results window is the most applicable to this, consider the current UX:
- Search for code that resides in an axml file.
- View the search results, which show the axml code and a line number.
- Double click on a search result.
- Notice that it opens up the designer view, so you don't even see the code that was in the search results window.
A much more intuitive UX would be to open the source code editor immediately and set the cursor on the line of code from the search results window. This would behave the same way that every other IDE in the world behaves...