# Language server crash when using filter option In range for table view

**URL:** <https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408>\
**Category:** VS Code\
**Created:** [January 2, 2023, 9:12am UTC](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408 "2023-01-02T09:12:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocco\_sprmnt21](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rocco_sprmnt21/32/20127_2.png) [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Post date:** [January 2, 2023, 9:12am UTC](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408/1 "2023-01-02T09:12:44Z")

</div>

```julia
using DataFrames
rows = 1000000
stock_day = DataFrame(stock = repeat([:A,:b], Int(rows/2)), day = sort(repeat(collect(1:Int(rows/2)),2)), price = rand(rows) )

```

![immagine](https://global.discourse-cdn.com/julialang/original/3X/c/e/ce705c9d0b8d7abf32aefbb8ae6093da5aee6154.png)

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [January 2, 2023, 9:21am UTC](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408/2 "2023-01-02T09:21:10Z")

</div>

Please open an issue at [GitHub - julia-vscode/julia-vscode: Julia extension for Visual Studio Code](https://github.com/julia-vscode/julia-vscode).

---

<div class="post-metadata">

**Author:** ![rocco\_sprmnt21](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rocco_sprmnt21/32/20127_2.png) [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Post date:** [January 2, 2023, 10:08am UTC](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408/3 "2023-01-02T10:08:22Z")

</div>

Done!  
I briefly see a page of error messages which then disappear when the terminal page is closed

I don’t know if these messages are logged and where to retrieve them and add to the issue description.  
But I think the problem is easily reproducible with the indications provided.  
Instead, I would like to make a proposal that would fit in this context if it were possible and considered interesting.  
The idea is this: insert the instructions corresponding to the actions set on the GUI into the editor.  
The usefulness could be that of having a filter prototype quickly available in the editor that can be edited to obtain more complex shapes that cannot be obtained from the GUI.  
Would it be possible to add other options inside the table view for more complex commands like groupby, split of column, etc etc?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [January 2, 2023, 10:14am UTC](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408/4 "2023-01-02T10:14:34Z")

</div>

Yeah, I attached the stacktrace to the issue you opened.

A command to put the Julia code corresponding to the GUI operation into the REPL is a neat idea, but more advanced UI is unlikely to happen (not impossible, mind you, just needs someone to do a bunch of work, and that someone won’t be me).
