- Searching questions and answers directly from IDE
- Adding answers by answer id
- Editing in any code editor
- Running directly from IDE
Just clone this repository and import sbt project. All dependencies will be 🎉 automagically 🎉 downloaded.
You must create Passwords object in overlang.stackOverflowBackend package. You can obtain API key here: https://api.stackexchange.com/
package overlang.stackOverflowBackend
object Passwords {
final val StackOverflowApiKey = "YOUR_API_KEY"
final val StackOverflowApiSecret = "YOUR_API_SECRET"
}
⚠️ Beware that you should test this app in external terminal. Build-in IDE terminals may not work (e.g. Intellij terminal)
If you want to create new temporary file use: java -jar stack-overlang.jar
If you want to open existing file use: java -jar stack-overlang.jar file
- You can write commands in main window (the window, you see when launching app)
- You can go to previous window by clicking ESC
- You can select questions/answers by arrows and clicking ENTER
- Questions are marked with [Q] symbol and answers with [A] symbol
Inside application you can use various commands:
add <answer_id>
- adds answer by id
search <question>
- searches questions and answers
runwith <program>
- runs with selected program
saveas <filename>
- saves actual file
edit
- launches actual file in vi text editor
editwith <program>
- launches actual file in selected text editor
exit
- exits stack-overlang
- FizzBuzz in Python
- Script to delete all files with selected extensions in Python
- Solving Quadratic equation in Python