Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Writing support for Default Filename in Add New File dialog. #272

Merged
merged 3 commits into from
May 13, 2013
Merged

Writing support for Default Filename in Add New File dialog. #272

merged 3 commits into from
May 13, 2013

Conversation

Therzok
Copy link
Contributor

@Therzok Therzok commented May 1, 2013

The current code used the DefaultFilename tag which was unused in the XMLs, while the XMLs had an
attribute for the FileTemplate tag, which is unused. I've decided to use the DefaultFilename version,
due to not messing around with code or how FileTemplate works. This change is useful for creating
quick test projects. The functional change found here makes it so it switches between default names
but keeps you from losing written file names.

Also, modified so if the text box is the last default template, replace with blank text.
@Therzok
Copy link
Contributor Author

Therzok commented May 1, 2013

Not ready for merging. Made PR to keep track of what I still need to change.

@Therzok
Copy link
Contributor Author

Therzok commented May 1, 2013

Ready for merge.

@Therzok
Copy link
Contributor Author

Therzok commented May 1, 2013

Only functional change is found at: https://github.com/mono/monodevelop/pull/272/files#L42R380

Reason why I've changed it is so it removes the file name if we keep switching between templates and, say, one template has no default filename.

@Therzok
Copy link
Contributor Author

Therzok commented May 12, 2013

Affected languages:

  • C#
  • Markup
  • Empty
  • GTK
  • C
  • VB
  • Linux Desktop Entry
  • IL
  • Translation Project
  • NUnit
  • T4

I've left out ASP since I don't know the file structure.

jstedfast added a commit that referenced this pull request May 13, 2013
Writing support for Default Filename in Add New File dialog.
@jstedfast jstedfast merged commit 8ad35f1 into mono:master May 13, 2013
@Therzok Therzok deleted the defaultFileNames branch May 14, 2013 04:18
nosami added a commit that referenced this pull request May 23, 2016
DavidKarlas pushed a commit that referenced this pull request Mar 11, 2019
TypeSystem: Only use misc workspace with new editor
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants