Git Product home page Git Product logo

xamaridea's Introduction

Xamaridea

Visual Studio extension, allows editing .axml files in IntelliJ IDEA or Android Studio (Xamarin.Android). It creates a fake android project and uses resources from your Xamarin.Android project by link (thanks to gradle) so every change made in Android IDE will be saved. Available at https://visualstudiogallery.msdn.microsoft.com/9f5a516a-f4d0-4228-9d25-d0273abebf33

WARNING: Plugin may change your project structure (Resources folder), do not use it without version control (it's alfa version).

Tired?

Alt text

Plugin will help!

Alt text

xamaridea's People

Contributors

egorbo avatar cbruegg avatar

Stargazers

DIMANRUS avatar Aigio L avatar  avatar Piotr Karczmarz avatar Amin avatar Marian Dolinský avatar Ajendra Singh avatar Armadillo avatar  avatar Tylor Pater avatar Kirill avatar Ama Sánchez avatar Kofi Boahene avatar Jérôme GIACOMINI avatar Pedro Câmara avatar David Noreña Perez avatar  avatar Hamza Fetuga avatar Jaroslav Řehořka avatar Kyle Seongwoo Jun avatar Peter avatar Sergiusz Kriwobokow avatar  avatar Marc Bruins avatar Evgeny Zborovsky avatar  avatar Mahmoud Hossam avatar Andrew avatar Yauheni Pakala avatar Ulysses avatar Tlaster avatar 20chan avatar  avatar Michal Cerman avatar toni dy avatar  avatar Max Evtukh avatar Akhmed Sheriev avatar Martin Kuckert avatar Viktor Rasevych avatar  avatar Bob Zurad avatar Israel Fonseca avatar Everton avatar wmanos avatar Valentin Grigorean avatar Javier Suárez avatar Tomasz Cielecki avatar Mikkel Jensen avatar Otar Bediashvili avatar Cristian Valencia avatar Alex Sorokoletov avatar Manuel Reinfurt avatar Jens Becker avatar Thomas Bailly avatar Steve Fan avatar  avatar  avatar  avatar  avatar Artem Valieiev avatar Pascal Knecht avatar PaulZeng avatar xling avatar  avatar Ahad khan avatar Hassan Jawed avatar Diego Ponce de León avatar Martijn van Dijk avatar Dan Rigby avatar Paul Leman avatar Michel van den Berg avatar William Barbosa avatar Erick Mendonça avatar Paul Matyukov avatar Benoit Jadinon avatar  avatar Jon Carlos avatar  avatar

Watchers

James Cloos avatar  avatar wmanos avatar Pedro Câmara avatar Andrés Giménez avatar Michał Ziółkowski avatar James julius tudu avatar Roman Hryshchyshyn avatar  avatar Gionata Roberti-Maggiore avatar

xamaridea's Issues

Installation on Visual Studio 2012 fails

When I try to install the latest version onto Visual Studio 2012, it fails by displaying this message:

image

Is there a way to fix this, or an older version that I could download instead?

Xamaridea Mac

I'll try to port your tool to Mac, because the Xamarin Studio axml editor is really bad over here too ;-)
thanks for thinking about separating projects between the sync / plugin.

Android Studio 3 and mvvmcross

Hi,
when a project layout file (xml) contains custom tags originating from an android library referenced in the android project (like mvvmcross), the gradle build fails as it can't find them.

It can't find them because XamarIdea does not add in app\build.gradle (in sourceSets/main/res.srcDirs tag) the obj/Debug/__library_projects__/* folders, which contains Android resources from these referenced assemblies.

A workaround is to manually update the build.gradle file and manually add each __library_projects__ folder

apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.2"
    defaultConfig {
        applicationId "com.egorbo.javashallowcopyforxamarinproject"
        minSdkVersion 21
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    sourceSets {
        main {
            res.srcDirs = [
                    'C:/Dev/repos/totoapp/Toto/Toto.Droid/Resources',
                    'C:/Dev/repos/totoapp/Toto/Toto.Droid/obj/Debug/__library_projects__/XamSvg.Droid/library_project_imports/res',
                    'C:/Dev/repos/totoapp/Toto/Toto.Droid/obj/Debug/__library_projects__/Vapolia.WheelPickerDroid/library_project_imports/res',
                    'C:/Dev/repos/totoapp/Toto/Toto.Droid/obj/Debug/__library_projects__/MvvmCross.Binding.Droid/library_project_imports/res',
                    'C:/Dev/repos/totoapp/Toto/Toto.Droid/obj/Debug/__library_projects__/MvvmCross.Droid.Support.V7.RecyclerView/library_project_imports/res'
            ]
        }
    }
}

Project Name Customization

Great job, but i have this issue with customizing project names. I usually work with multiple Xamarin projects. The problem here is, I find it difficult trying to locate previous projects in Android Studio when I create new projects. I think you should generate Android Studio projects with the same name as the Visual Studio Project.

new version?

Hi, is this project getting a refresher any time soon? I am stuck using an early version of android studio and would love to update to the latest.

Install on Visual Studio 2019 fails

The title says it all. When i tried to install this to my vs2019 installation, it just fail.

image

Log:

05/05/2019 10:25:12 - Microsoft VSIX Installer
05/05/2019 10:25:12 - -------------------------------------------
05/05/2019 10:25:12 - vsixinstaller.exe version:
05/05/2019 10:25:12 - 16.0.2264
05/05/2019 10:25:12 - -------------------------------------------
05/05/2019 10:25:12 - Command line parameters:
05/05/2019 10:25:12 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,D:\Downloads\Xamaridea.VisualStudioPlugin.vsix
05/05/2019 10:25:12 - -------------------------------------------
05/05/2019 10:25:12 - Microsoft VSIX Installer
05/05/2019 10:25:12 - -------------------------------------------
05/05/2019 10:25:12 - Initializing Install...
05/05/2019 10:25:12 - Extension Details...
05/05/2019 10:25:12 - 	Identifier         : c3535449-011a-480d-b116-f2be70bf4d15
05/05/2019 10:25:12 - 	Name               : XamarIDEA
05/05/2019 10:25:12 - 	Author             : EgorBo
05/05/2019 10:25:12 - 	Version            : 1.0.2
05/05/2019 10:25:12 - 	Description        : Visual Studio extension, with it you can open your .axml files (Xamarin.Android) in IntelliJ IDEA or Android Studio. It creates a fake android project and uses resources from your Xamarin.Android project by link so every change made in Android IDE will be saved.
05/05/2019 10:25:12 - 	Locale             : en-US
05/05/2019 10:25:12 - 	MoreInfoURL        : https://github.com/EgorBo/Xamaridea
05/05/2019 10:25:12 - 	InstalledByMSI     : False
05/05/2019 10:25:12 - 	SupportedFrameworkVersionRange : [4.5,)
05/05/2019 10:25:12 - 
05/05/2019 10:25:12 - 	SignatureState     : Unsigned
05/05/2019 10:25:12 - 	Supported Products : 
05/05/2019 10:25:12 - 		Microsoft.VisualStudio.IntegratedShell
05/05/2019 10:25:12 - 			Version : [12.0,16.0)
05/05/2019 10:25:12 - 		Microsoft.VisualStudio.Community
05/05/2019 10:25:12 - 			Version : [12.0,16.0)
05/05/2019 10:25:12 - 		Microsoft.VisualStudio.Pro
05/05/2019 10:25:12 - 			Version : [11.0,16.0)
05/05/2019 10:25:12 - 		Microsoft.VisualStudio.Enterprise
05/05/2019 10:25:12 - 			Version : [11.0,16.0)
05/05/2019 10:25:12 - 		Microsoft.VisualStudio.Premium
05/05/2019 10:25:12 - 			Version : [11.0,16.0)
05/05/2019 10:25:12 - 		Microsoft.VisualStudio.Ultimate
05/05/2019 10:25:12 - 			Version : [11.0,16.0)
05/05/2019 10:25:12 - 		Microsoft.VisualStudio.VSLS
05/05/2019 10:25:12 - 			Version : [12.0,16.0)
05/05/2019 10:25:12 - 
05/05/2019 10:25:12 - 	References         : 
05/05/2019 10:25:12 - 		-------------------------------------------------------
05/05/2019 10:25:12 - 		Identifier   : Microsoft.VisualStudio.MPF.14.0
05/05/2019 10:25:12 - 		Name         : Visual Studio MPF 14.0
05/05/2019 10:25:12 - 		Version      : [14.0]
05/05/2019 10:25:12 - 		MoreInfoURL  : 
05/05/2019 10:25:12 - 		Nested       : No
05/05/2019 10:25:12 - 
05/05/2019 10:25:12 - 	Prerequisites      : 
05/05/2019 10:25:12 - 		-------------------------------------------------------
05/05/2019 10:25:12 - 		Identifier   : Microsoft.VisualStudio.Component.CoreEditor
05/05/2019 10:25:12 - 		Name         : Visual Studio core editor
05/05/2019 10:25:12 - 		Version      : [14.0,16.0)
05/05/2019 10:25:12 - 
05/05/2019 10:25:12 - Signature Details...
05/05/2019 10:25:12 - 	Extension is not signed.
05/05/2019 10:25:12 - 
05/05/2019 10:25:12 - Searching for applicable products...
05/05/2019 10:25:12 - Found installed product - Global Location
05/05/2019 10:25:12 - Found installed product - Visual Studio Community 2019
05/05/2019 10:25:12 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Update gradle, support libs [project template]

Hi,

Great plugin, hope it continues!

When you update to support android studio 2 soon, please up the gradle dependency and lib versions in the template. (I already did changes to my template). Thanks!

Nothing happlen under resources

Hi,
This is a fantastic plugin.
But
There is no xml/axml under resources folder after opning Android Studio.

I tried use lower case file name and rename axml to xml, no help.
2014-12-31_19-06-05
2014-12-31_19-06-18

Any help?

Installed from Visual Studio Gallery.
Default template.
OS Windows 8.1 X64
Android Studio:1.0.2 x64
Visual Studio: 2013 Ultimate update 4

Exception when confirm rename to lowercase.

Привет! Воспользовался твоим расширенением для VS.
При подтверждении переименования в lowercase у меня возникает ошибка, что файл уже создан
Файла с таким же названием в папке нет. Может проблема в том, что у меня файлы в стандартном .xml, а не axml.
123123123

Update for Android Studio 3.2.1

Hi! I love this tool, it is great. I understand that there may not be a lot of time available for maintaining this project, but would it be possible to make some small updates to support the latest gradle syntax and build tool versions?

Thanks,
J

usage, keep Andoid studio open? close?

Thanks for such a great tool! I was wondering, is it ok to keep the Android studio project open and make adjustments there during usage, or should I be closing it out after making changes and reestablishing it (which does take a little time)? Thanks!

Xamaridea path not saved in Visual Studio

Whenever I open a layout file in IDEA, it prompts me to specify the android studio / IntelliJ IDEA path (which is on a secondary drive). As soon as I restart Visual Studio and try to open another file in IDEA, it asks me for the path again.

Path gets saved for the session, i.e. I can open multiple files with no problems, but as soon as I restart VS, I have to manually enter the path again.

I'm using Android Studio.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.