Add project to an existing Monodevelop (Mono Touch) solution - xamarin.ios

Where is the command/button/dialog to add a project to an existing mono touch solution?
e.g. I have a MonoTouch App and I want to add a class library to the solution.

It seems as if my IMac was not responding in the normal fashion for CTRL Click. Got around this with double click to get to context menu

Related

Android Studio isn't showing the xml editor [duplicate]

How can I enable the text/design Tab on the a src/main/res/layout folder on the activity_main.xml file that was created automatically during create new project? If i do right click and create xml file on the said folder, the design/text tab exist. Any suggestion? Thanks.
No Text/Design Tab on the Bottom Part of the Android Studio
Creating a new XML in the Res/Layout Folder, the design/text tab is now present.
Any help? this is super weird guys...
In Android Studio 3.6 use these three buttons (Code | Split | Design), on top right, to switch between views.
I had the same problem, restarting the IDE did make that tab appear again.
On Android Studio 3.6.1
Top Right corner under the main toolbar you have three different icons (Code, Split, Design).
View -> Tool windows -> Preview .
Output view:
use the three buttons (Code|Split|Design)on top right hand side to switch between views.
I also had this problem after upgrading to 1.5. None of the above suggestions worked for me. I noticed that the default relative layout xml has changed with a third xmlns line and an app behavior line. I opened an older project and copied the old relative layout header to replace the new. Instantly the preview function was restored.
You can also Move between Design / Text tabs in layout’s view with simple shortcut:
(Mac) : control + shift + ← / →
(Windows / Linux): alt + shift + ← / →
On the top right corner of the activity_main.xml file view, there are 3 icons representing "Code", "Split" and "Design". Click on the leftmost icon of the three ("Code") for the text tab.
In the android Studio window, at the left side there are two options available(Project and Resource Manager). Go to resource and there you will see an ADD Module option, click on that. After this you will see your text and design option will get enabled, you can go to your work area by Project Name->app ->src ->main->res ->layout.
Yes, Even I had the same problem. For the first time... I think It wont show, restarting the IDE did make that tab appear again.
I had this problem too, I deleted all the preference files, such as the AndroidStudioPreview folder & com.google.android.studio.plist, then restarted android studio, it worked.
You do not need to restart an IDE. All you need is to close an xml file that does not get a tab and reopen it within an editor. It is a little bug.
Navigate to activity_main.xml tab then Design and Text tab appears.
It doesn't appear in MainActivity.java tab.
You do not need to restart IDE.
If text/design tab is missing in new android studio, this can solve by two methods.
You have re-install android studio. And don't forget to delete android studio related all files from temp and local.
Or you can re-install SDK (software development kit) according to your device.

quick recap by option clicking a method/class for libgdx framework

Just created a first libgdx project and imported it into android studio. I am used to hovering over a method or a class and by option/alt clicking it, a little box shows up that tells me what this method/ class is good for. Is there a libgdx support for that kind of thing in android studio? It is a huuuge timesaver if you are a newbie like me.
AS is based on IDEA, Ctrl+Q should work for Quick Documentation when cursor is inside method or class name. You can also Ctrl+LeftClick to go to source of the class or method.

can't find layout and classes in Android Studio

I'm a noob in Android studio and Java, I do have a solid c# background, but I can't seem to fix this problem:
Some of my partners asked to add a button to a previous android build created by someone else, so I downloaded Android studio and imported the project, but I can't seem to find anything in there. We can't contact the creater of the project to ask in what he developed the app.
As you can see, there's no layout in the project.
And this is what the project folder looks like:
Where Can I edit layouts? Am I in the wrong IDE?
Thanks
If you want to change the Layout, you can do Two things:
OPTION 1
1. Simply click into your Xml file and select the "Text" option at the bottom on your screen
2.Change to layout
OPTION 2
1.Just drag another layout in Design and put your items in it, delete your old layout PS. you can have layouts in other layouts
Now, Thats just for the Layouts, to see classes just do...
after double clicking that, itl bring up a new tab.
PS This is somewhat a Duplicate, try to search up your question first instead of making a new question
link to duplicate: Android Studio - How to change layout

Import Xcode storyboard into MonoTouch project

I've found this: Import GUI design from xCode to Monotouch
The above answer doesn't get into segue's or any other details.
Here's my issue:
I have an Xcode storyboard project which compiles and runs to show how to go from one view to the next via the iOS Simulator. There are 9 views and I would really like to not have to duplicate the storyboard. Someone else created the storyboard in Xcode.
I need to write the logic in MonoTouch for my company. I figured I would create an iPhone Storyboard project to start. This project gives me a MainStoryboard.storyboard file that I can double-click to launch Xcode. After this, I'm lost. I want to use the Xcode Storyboard and don't know how to merge/import/replace, etc. the MonoTouch storyboard with the Xcode storyboard.
Could someone be so kind to go into some detail describing what would be necessary for me to use the Xcode storyboard for my MonoTouch project? I would like to be able to compile and run the storyboard in MonoTouch so I can start coding?
Thank you in advance.
UPDATE: I'm using the trial version of MonoTouch so the --xcode command line option will not work for me.
This may not be the best way, but here goes:
just add the storyboards to the project
open the storyboard
locate each ViewController and cut the Class value under the Identity section.
save the storyboard
paste the Class value back in and save again
Xamarin Studio should generate the view controllers with all the designers for that ViewController
repeat for each ViewController
I hope this helps, and if there is a better way...

How to display the TypeScript class outline in Visual Studio

When coding a TypeScript class Visual Studio (Pro 2012) gives me a class outline drop-down at the top left. You can see it in the screen shot.
Is there any way to have this displayed all the time? Like the Code Outline feature in FlashDevelop. I.e. docked to a window within VS so I can easily navigate to the methods.
You can open Class View using the toolbar menu:
View > Class View
You can then view the contents of your classes, similar to that drop down, but docked wherever you like.
This doesn't currently show you the contents of a TypeScript file though - they aren't shown in the top list of classes.
While not the answer you're hoping for, a workaround is to develop your typescript files in WebStorm, and set up WebStorm's 'Remote Host' to be your Visual Studio project's IIS folder. Most often, I find that I have to push WebStorm changes to the Visual Studio project each time I test, but 'pure javascript' unit tests could be done purely on the webStorm side. You might also want to do early stage qunit testing using WebStorm's localhost server/port, perhaps with mocked data.

Resources