IntelliJ Idea has neat feature – Terminal Window.
Unfortunately on Windows it’s set just to old school cmd. Good news is that it’s possible to change it to something better. E.g. PowerShell.
Go to project settings, type “terminal”. Change value in Shell path to powershell.exe.
Then you can invoke Terminal:
Note: If you’re using 32bit version of Idea then it will open 32bit version of PowerShell. This is important when you want to change Set-ExecutionPolicy. 32bit and 64bit PowerShell have two different settings.
Situation: import Cordova project with support of Android platform to Intellij Idea. You’re not able to start emulator, because of strange error:
Default Activity not found!
One solution could be: go to File menu and choose Invalidate Caches /Restart.
This might not help.
The real problem is most likely in configuration of Android module. Open project configuration, select module and make sure that directory src is marked as Source.
Confirm module configuration and error message should disappear.
Unix users write scripts in their favorite editor. That’s ok, but when you have bigger project then power of IDE could help you. E.g. when editing project based on mix of Python, Bash and Java.
There is very useful plugin for IDEA known as BashSupport.
It will give you syntax highlight, code hinting and CTRL+Click is working the same way like in other programming languages. Very handy.
Here is example:
How to install this plugin?
File -> Settings. Search for word Plugins. Click Browse repository. Type BashSupport to search field. Right click on plugin name and choose install. restart Idea.
Note: This plugin works also on Windows, you need to configure just path to bash (e.g. Bash from Cygwin).
Reading through document with keyboard shortcuts for IDE is boring and often you do not have time to learn it.
Dmitry Kashin wrote simple yet powerfull plugin for IntelliJ Idea – Key Promoter.
It simply displays keyboard shortcuts whenever it is possible to speed up your work.
Jade Templating Engine is popular in Node.js world. There is also plugin for IntelliJ Idea which has support this format.
If you open .jade file in Idea and there is no syntax highlight then there is something wrong.
Most common mistake is that people open .jade file before installing plugin and they choose Text editor to open this file. Idea remembers this decision and after installing plugin it will always open .jade files in basic Text editor without syntax highlight.
Correction is quite easy. You need to fix file extension association.
Open Settings – Editor – File Types. Find Jade and add *.jade file extension.
Idea has support for Node.js. It’s quite easy to setup new project.
First of all install Node.js and Node.js plugin.
Create new project from scratch.
Select module type: Web Module
Select Web Module Type: Node.js Express App
Create Run Configuration for app.js
Application is available at http://localhost:3000
Software engineers love exactness of computing machines.
Developers often ask for detail specification in order to implement feature according to customer expectation.
It’s impossible to create 100% correct requirements. Customer “moods” are changing and it affects requirements.
Developers are puzzled when requirements are changing every day.
Software engineers were implementing exactly what was written in requirements. The next day they have to adapt to new requirements and half of previous work is nonsense in the context of new day.
The question is: How to face change in requirements?
One way is to put everything into requirements, build protective walls from corporate processes and invoke bureaucratic machinery against any deviation from predefined path. Defend current status quo at all cost…
Then you better start swimming or you’ll sink like a stone
For the times they are a changing
What is the other way? Use anticipation and imagination. Build the software in adaptive fashion. Prepare it for change.
The first step is to admit that requirements are incomplete and that it does not mean that they’re bad.
The second step is to see a bigger picture and to find understanding for customer behavior.
Anticipate rather than react.
Daniel Markhman wrote interesting article Sofware: More Battlestar, Less Gunsmoke.
Do you find your software product as something that has beginning, middle and end? Something that provides the value with story.
There is also other option. Do you find your software as just another part of never-ending soap opera with same old story in different faint washed colors?
I found quite useful material related to the topic of start-ups.
This slideshow is quite important, because it explains how Business Model Canvas works. You can download Business Model Canvas in PDF form.
This framework is handy and it could help with answering some questions about start-up or entrepreneurship.
You can find even more information at Steve Blanks web site.
You can access materials from my talk at FRI Žilina: PDF, SlideShare
– Facebook group for Android fans not only from Žilina: ZAndroid
– video material is available at www.mojandroid.sk