Showing posts with label ide. Show all posts
Showing posts with label ide. Show all posts

Wednesday, February 14, 2018

Graphically bind only combobox index to datasource in Visual Studio

Leave a Comment

Edit: I'll try to be more specific.

  1. In Visual Studio, It is easy to bind the items and values of a combobox to 2 columns in a DB.

       Index  |  Name   ...................     0     |  Apples     1     |  Oranges     2     |  Pears 
  2. But if one enters the names manually under items in the Properties window.

  3. And one saves only the index of the combobox to the DB.

      Index .........    0         1         2      

So how does one bind only the index of the combobox to the DB while using the Items entered in the Properties window?

0 Answers

Read More

Monday, July 18, 2016

Manual and Non-Adaptive Manual Segues

Leave a Comment

What is Manual and Non-Adaptive Manual Segue and the difference between a Manual Segue and a Non-Adaptive Manual Segue.Any Explanation in Detail will be helpful.

Case 1

enter image description hereenter image description here

Case 2

enter image description hereenter image description here

1 Answers

Answers 1

The non-adaptive manual segues are deprecated and they don't adapt to the screen size and orientation, that's why they are called "non-adaptive".

With iOS 8, the size classes were introduced (Regular and Compact) and the new Adaptive Segues adapt to these, like when you turn your iPhone to landscape orientation, the status bar will disappear and the navbar will shorten in height.

Adaptive UI in iOS 8: Explained - iMore

What's the difference between all the Selection Segues?

Read More

Wednesday, April 13, 2016

Netbeans and Eclipse doesn't show modal window and locks itself on MAC

Leave a Comment

I have downloaded Netbeans 8.1 on OSX and when I try to install Darcula theme it is not possible. I press install and the way IDE responds is like situation when user dialogue pops out which locks the application until user acts upon the dialogue. However this dialogue is not visible! The way I know it is there is because when I press ESC button, IDE is responsive back again.

unresponsive IDE with invisible user dialogue

The same happens when I go to preferences and click "Import" button. Application locks itself but I don't see any dialogue that I can do something about.

This happens also on Eclipse. As you can see in a picture below after I clicked "Add libraries", tab "Libraries" turned from blue to gray because some unvisible window has opened and rest of IDE is unresponsive until I press "ESC"(which usually closes the modal window).

enter image description here

EDIT: I just found out that this happens when IDE is maximized. So I would like to know if I can fix it somehow that I don't have to un-maximize IDE everytime editor shows me some dialog.

1 Answers

Answers 1

For Eclipse this has been reported as bug 478975 but as yet there is no fix.

Read More

Wednesday, March 30, 2016

WebStorm Smarty highlighting

Leave a Comment

Is there an way to make WebStorm highlight Smarty templates? Either through plugin or some other means?

Also note, I need this for WebStorm, not PhpStorm or some other version; I don't need autocomplete or anything else -- just highlights.

Files have .tpl extension and so far I'm treating them as HTML files and I am looking for options to increase code readability with coloring.


I have tried following based on the comments: bundle window file type window

However, resulting .tpl file still looks like result

0 Answers

Read More

Monday, March 7, 2016

Using Qt creator as the IDE for editing and building a project hosted on a virtual machine

Leave a Comment

Currently I'm developing a pure C++ application in a virtual machine. My editor on virtual machine is VIM. But I want to use Qt creator as IDE. I tried ssh -X for running Qt creator on virtual machine. But it ran too slow to work with.
The process is too simple. I want to have source code in both machines. In local machine and virtual machine. Then I send modifications from local machine to virtual machine and when I press build button in Qt creator, a build script is executed in virtual machine to build the project. Output from virtual machine will be displayed in Qt Creator output panel.
For this purpose should I create a Qt Creator plugin?

1 Answers

Answers 1

I am not sure if you have a network that is connecting the two machines or not (local and virtual). If you have a network then you need to just share the project folder. In case you are using RedHat/CentOS/Fedora you can follow this link:

http://www.tecmint.com/how-to-setup-nfs-server-in-linux/

For Ubuntu you can always find a way too.

local machine should be the server and virtual machine should be the client.

In case the local machine is windows, then it would be easier, just follow this link: http://www.computerhope.com/issues/ch001636.htm

Read More