texstudio-org / texstudio-org/texstudio

Open file also from tex tree

Open
#48 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
C++
Stars
3.6k
Forks
403
Avg merge
3h 14m
Merged PRs (30d)
12

Description

I love the ability of texstudio to right click on an included file and open it from the context menu. This works really great for files with a specified path or which are simply in the current working directory.

screen shot 2018-02-28 at 11 55 54

It would be nice if this could be expanded to files in the tex tree, e.g. if the file does not specify a path and is not found in the current working directory, one could use something equivalent to the command line expression

open `kpsewhich ushyphex.tex`

to open a file which is somewhere in the tex tree.

(Full disclosure: I just asked a loosely related question on tex.stackexchange how to write a user macro with the same effect, see https://tex.stackexchange.com/q/417727/36296)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by tracing the existing context-menu action for opening included files, then compare its lookup behavior with the issue's kpsewhich ushyphex.tex example. Done means an included file missing from its specified path and current working directory can still be opened from the TeX tree.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, latex
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.