Giter VIP home page Giter VIP logo

vs-plugin's People

Contributors

dbrgs avatar dbrgss avatar guarnold avatar pamc avatar phofman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vs-plugin's Issues

Cascades version could be exposed by the NdkInfo

Currently the PuppetMasterWizardEngine has "1.2" Cascades version hardcoded and passing this value to underlying templates. The desired behavior is to be able to provide different value at runtime - based on the installed and active NDK. Then all created projects and project-items could benefit.

Solution:
It could be detected based on NDK version and for now hardcoded, but at NdkInfo::Load() level.

Capture device-logs at runtime

It would be really nice to see the device logs at runtime, once the QConn connection is established.
Otherwise - in case of any QML errors - developer is blind.

Sometimes process-list shows only 5 items

Randomly only first few items are shown, when loading processes from target device. It can be observed in Target Navigator, although it has an impact on starting the GDB debugger. Since PID of the process to attach can't be obtained, it might end-up with an error and debugging might not start.

Prefix header inclusion is not available

Most of IDEs, including VS, has a C/C++ option in "Advanced" part, called "force include header" or "prefix header", means every headers will has specified prefixed header included at the top. This is biggest missing functions in QNX compiler. In GCC, the option is "-include".

Extend installation with 'Add existing simulator' option

Currently there is no way to add already installed simulator.
Autodetection searches only for simulators inside the bbndk_vs folder, what is pretty limiting, if already got one via MSI. Also since plugin has a dedicated folder for configurations, this should not collide with the way Momentics works etc.

QML debugging

Do you have any plans to add possibility to debug JavaScript in QML in vs-plugin? This plugin is excelent, it enables Blackberry development in VS. With QML support, it would be, well... more excelent :)

Visual Studio 2015

Hello,

Is there any plan to release this plugin for VS2015?

Best Regards

Automatically update MSBuild platforms folder

It's quite messy, to ask developer to manually update the related MSBuild folders with new platforms etc. each time any new change to the plugin is published. There should be a way to make this process automated, so they don't bother with it anymore.

Current proposal:

  • embed the tools and platforms dedicated to Visual Studio edition inside the VSIX
  • extract it, each time version inconsistency (between plugin and build-tasks) is detected (instead of just creating an error message, as it is now).

Expected problems:

  • admin rights are required to play with ProgramFiles folder and VS doesn't have them and it should be possible to update MSBuild without running VS as administrator

Project import

Hey again,

One more thing concerning project import.
I'm using svn, git as well, but svn 'produce' a lot of folders and subfolders with billions of files inside.

What do you think to add kind of 'filter' to remove such dummy files from import files list?

I know that I can uncheck them but filter like 'exclude folders: .svn' or 'exclude files: .git' would be a cool feature.

Thanks

ProjectName

Hey,
It would be cool if default project name be the same as the import project folder name or, even better, a projectDescription/name from .project.

When you have few projects to import it's easy to forget to change default project name and then I have to import project once again with correct name.

thanks,

btw. nice plugin, momentics is cool but it's 'as-is' ;)

Visual Studio 2013 Prof. not recognizing plugin

I have Momentics and Visual Studio 2013 Update 4 Prof. installed on my drive H:, running Windows 8.1.

I can't find any hints that Visual Studio is recognizing the plugin after I installed it.

PuppetMasterWizardEngine doesn't build filter-tree

Currently, when wizard-engine is processing files, it renames them and put into requested directory. However this directory structure is not reflected in created 'folder-filters' inside the project structure.

This is a bit painful, as files are placed inside the project based on global filters' extensions. And it leads to situation, when translation files are not added into a project (they are disabled in .vsz descriptor) to avoid having two makefiles and .pro files next to each other.

Package could verify BB platform in MSBuild

There are two scenarios to avoid in the future to have the manual installation bulletproof:

  • missing Platform/BlackBerry folder at all (in that case Visual Studio fires LOTs of strange errors, when trying to Import or open project)
  • incompatible versions between package and MSBuild (that could show up in next releases; and potentially might lead to build instabilities, when new fields are added etc)

PIN editor could be improved

There are few bugs around generating new debug token:
a) PIN editor could display names of known devices
b) the PIN is not copied, if you discover successfully a device
c) it could suggest adding other 'stored' devices, if not already on the list

Add "Import..." project template

Importing existing Momentics project is currently exposed via BlackBerry menu -> Import...
Maybe it would be useful to have it also as another project template. PuppetMasterWizardEngine can display any required UI to confirm the import process, if needed.

Makefile errors propagation

The errors returned during makefile compilation could look like:

../src/main.cpp(56): error : 'appui' was not declared in this scope

but it is not correctly transmitted to Visual Studio as it lacks the '56' line number. This causes the jump into the right place in code impossible. Whole write-compile-edit flow is then disturbed.

bar-descriptor.xml - Momentics interoperability

I tried to open project generated in VS plugin (VSP) in Momentics - to design qml there. Some warnings occured in Bar-descriptor.xml:

  • generated bar-descriptor.xml from VSP uses element splashscreen instead of SplashScreens (the former is deprecated)
  • Momentics does not like element transparent in initialWindow (even if this element is optional, not deprecated, in public DTD).
    Is it possible to change generated XML?

One bigger issue is related with this - Momentics cannot open VS project as is, it only can import "existing code as Blackberry c/c++ makefile project". This works, qml is editable, you can save it and open in VS etc. That process adds Momentics .project and .cproject files. BUT - it also overwrite config.pri. And something in that import automatically adds Build Configurations Device-Coverage, Simulator-Profile and Simulator-Coverage without entry-point causing error if someone try to edit bar-descriptor.xml/Build configurations in Momentics UI. The good thing is that project remains buildable in VS.

It would be nice if VSP - when creating/updating project - could generate also Momentics project metadata - so it will be openable in Momentics without import-based issues.

Configuration tool

Create an executable to let configure the plugin without the need of having Visual Studio installed. It could be then used by build tools or along with Express editions.

One tool could work as a GUI app (potentially even sharing UI with dialogs/option-pages used in Visual Studio).

The second tool could be simply command line get/set/list helper.

Create any 'New Project' templates

A process of starting new 'BB10 App' inside Visual Studio is quite... complicated. It would be really helpful, if there were some New project template wizards.

More help on subject here and here.

VSIX should have tools included

To simplify deployments:

  • include QNX toolset into each vsix package (~3MB)
  • at startup, check if registry path defined elsewhere to override default location

Better handle problem, when author-id from bar-descriptor doesn't match debug-token on the device

Currently this can be seen in logs. I would imagine a nice popup with a way to quickly point to local debug-token to read the correct one.

1>  Info: Failed to obtain QConn connection, sync disabled
1>  Info: Sending request: INSTALL_AND_LAUNCH
1>  Info: Action: Install and Launch
1>  Info: File size: 93544
1>  Info: Installing com.example.FallingBlocks.testDev_llingBlocks37d009c_...
1>  Info: Processing 93544 bytes
1>  actual_dname::
1>  actual_id::
1>  actual_version::
1>  result::failure 881 application author does not match debug token author
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\BlackBerry\Microsoft.Cpp.BlackBerry.Packager.targets(231,5): error MSB6006: "blackberry-deploy.bat" exited with code 2.

DeveloperDefinition could provide AuthorID

It's a bit tricky now to put AuthorName/AuthorID into the templates. Those values are not stored anywhere outside the debug-token, but could be nice-to-have feature to automatically set them, when new project is created.

Solution:
Cache the AuthorName/AuthorID inside the registry settings, whenever this info is read from debug-token. Maybe also add ability to updated in on options page. Then use this cached value whenever required.

Enhance bar-descriptor editor

New bar-descriptor XSD schema has been applied, so at least this editor doesn't remove all new fields. But it still removes the comments.

Can there be done anything about it?

Additionally, what about:

  • UI for target invocations
  • UI for entry-points
  • UI for headless apps
  • UI for localizing title / description
  • UI for selecting minimal OS version, the application will run on

Bar-descriptor Editor should allow adding folder

Currently the BarDescriptor editor only allows adding single files as assets.
It should also expose a button to add a whole folder and let it be renamed.

This feature is mostly required for the future Cascades app support.

Remove tools dependency

All tools are expected to be installed inside ProgramFiles(x86)\BlackBerry\VSPlugin-NDK\qnxtools\bin\, this path should be specified somewhere in settings or via system registry.

Dedicated GDB toolwindow

As a developer I want to have a full power over GDB. I would love to have a toolwindow, where I could send ANY command to GDB and see it result. It would then let me use any future features of the debugger.

Extend VS Log window

Currently most of the logs from the plugin and its components is lost (or stored in files at some locations). The expected behavior would be to make usage of the Visual Studio Output window. Plugin could create own section here and print logs there, from:

  • GDB communication
  • tasks
  • the package itself

Missing clearance of metadata on uninstallation

Uninstaller should call devenv.exe /setup to clean-up the metadata.
Otherwise lots of dummy errors might occur, if someone tries to continue development after having official version of the plugin installed.

C++11 Support

Add support for C++11 features.
The latest SDK 10.3.0.698 should already support it from the compiler point of view.

More details here.

Syntax highlight for QML files

Currently all the QML files look a bit pale.
It would be nice to have at least some basic keywords and comments in different colors.

Referenced static library project does not have its library search path and library file implicitly added to the application project

In Visual Studio, if one application project add another static library as reference, then the library file and library searching path does not have to be explicitly added in the project setting.
For example, MyApp.vcxproj has reference to MyStaticLib.vcxproj, then you do not need to add

  • libMyStaticLib.a in Likner input setting
  • additional library path to find this library.
    But in your VS plugin, I have to do them manually. I understand implementing this takes time in your MSBuild script.

Bar-descriptor editor tries to open any XML file

The editor is not well configured as it tries to open any XML file.
In 99.9% of cases it leads to errors and editor crash, what doesn't look good.
This really breaks the VS coding experience.

Return better values for AD7Module

Currently this class has stubs for providing info about loaded modules etc.
Could be improved by returning the true values received from GDB.

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.