This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Open Automator | |
- File -> New -> Service | |
- Change "Service Receives" to "files or folders" in "Finder" | |
- Add a "Run Shell Script" action | |
- Change "Pass input" to "as arguments" | |
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
- Save it as something like "Open in Visual Studio Code" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package YOUR.PACKAGE.HERE; | |
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) <2015> <ameron32> | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ThingsAdapter extends RecyclerView.Adapter<ThingsAdapter.ViewHolder> { | |
private ParseQueryAdapter<ParseObject> parseAdapter; | |
private ViewGroup parseParent; | |
private ThingsAdapter thingsAdapter = this; | |
public ThingsAdapter(Context context, ViewGroup parentIn) { | |
parseParent = parentIn; |