Skip to content

Please add #!/, (), and }) ligs #169

@easyaspi314

Description

@easyaspi314

#!/ is used in shell scripts, like:

#!/system/bin/sh
echo "Hello, world!"

() and )} is used in many languages as well, such as after a Java interface override. Both are used commonly, especially (). This one should be a given, especially since we have a box for [].

myButton.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        FragmentManager manager = getActivity().getFragmentManager();
        FragmentTransaction transaction = manager.beginTransaction();
        MyFragment myFragment = MyFragment.newInstance();
        myFragment.setArguments(getActivity().getIntent().getExtras());
        transaction = transaction.replace(android.R.id.content, myFragment);
        transaction.commit();
    }
});

In Fira Code:
screen shot 2016-04-12 at 6 40 52 pm

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions