From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26571 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leonard Rosenthol Newsgroups: gmane.text.pandoc Subject: Re: What is the best way to develop for pandocs? Date: Mon, 26 Oct 2020 10:20:39 -0400 Message-ID: References: <170e68ae-579e-4859-9110-ae8d40533231n@googlegroups.com> <873621m6r4.fsf@zeitkraut.de> <3bc5bbdf-7e0e-4b04-921b-660554fafcb4n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000260c2a05b293a3f7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33778"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCDIL7E46MGBBRNW3P6AKGQEIZ24ZVA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 26 15:21:00 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pf1-f185.google.com ([209.85.210.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kX3Mo-0008ZJ-6X for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 26 Oct 2020 15:20:58 +0100 Original-Received: by mail-pf1-f185.google.com with SMTP id q16sf5694929pfj.7 for ; Mon, 26 Oct 2020 07:20:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1603722057; cv=pass; d=google.com; s=arc-20160816; b=ZXeLFdNb0DmRYbmO8i5b4YhdGS4QqAIzLZUcnzow8YyMHCt0fo7GBX+Pme9cUiQGq5 vbTCBp/xAhS4C1CPAxSskqDXjItS32d0xKpKG5UHzeKoIt1mJHq74Cs6dMRuWclOerEV JvS70E/8XAwXwHkoZjgabG9DJEGQpJ+UajG2S8ZTH8STZ1qrrLr6RUyIvFTg8iEHHP4d NE8H3wDcbtseXfb8lPSp+w/EOy2LLbAS78Tw7wC95EAj25u3WmEw/CPF/qbA1DMVdRSD tp8gT958og7Mbhznh6m7it8cjYg17r7evZXv1j7WPqhbGXQeY7d4QQZp0KeZb3kdyybD LveQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=rp57Cc+7gV43rZ7A6tQfH7GYlrEoSAVqvVwZItlpANM=; b=Ave/ash5KxcTS0zlG81F0pkqsP5Im9N9M6lEhXVbT0G5smHGVAk8bLdMc7KjSGZEKn Vl8SDZY14oHURc4sNq21ivw7KafoNT/ipvq6LK0o9jrXW2LUK3YRNe7qg/g+yqhd63qG uA6UPKVaX+vZN4bJ8XPA+NMla50qMnvi9/ZImOtgAm07Znj4tab/Re5qat9R8Si3FYk2 SUwdHrvFra1Y3YMvvIhGwaHjCnGYyEH6K9sK1jyI/oDIYqVfSrsllkVqvCHcpu2LRbBW +oMC1MXy23UrU3VZobQIxUSc/GumRiO9IeCA1smAVDBantQz3CQN8lSN71BvKtHWYTj0 bqaA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@lazerware-com.20150623.gappssmtp.com header.s=20150623 header.b=CiG2LS3r; spf=neutral (google.com: 2607:f8b0:4864:20::a2f is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) smtp.mailfrom=leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=rp57Cc+7gV43rZ7A6tQfH7GYlrEoSAVqvVwZItlpANM=; b=iSpedVDXo5NMv89Yyq/GG6r84q4uidCARw+oyN0UNuIpUpMASps058oBW3qNtbqVLB x/jH6Zew9rptyJcIZcqutigjBqDvCVTLrYgAof0PLeX3/Ms+eLN2uSFnguqMihRV0+mm vYK5lEfhBRGyFR32NRkR1Uxumna+viE8qzPCjMQBYqPxE8z2e/SFxMlTBxO+I83wQ0Q7 31JMm2sbDqCy4LAIGMgzPkxvhPSWpCXaailXJBVBkN11QaggVBWvFPR8oo2jfpfexdTQ xNCIvXKXwREsfmsWiZkEGu3LgMkYcabzcwrwviqZDNbTVK2fevaQdG2KErF/Dd/Ublpc k6zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=rp57Cc+7gV43rZ7A6tQfH7GYlrEoSAVqvVwZItlpANM=; b=QXDPr6lh6UdUFeLAFPX6TsWxcISqULz8hrapoNFmkdDH4O4H719Ln1viJSMW421vjX vLqWuFk11c8iMYysFhJ53gbBjRDiMSPKFBAf9yUIRtKiTVI1oG7CDIuwTaz9lVlQ2RTX fNQvjsk4JslcUjn4NA18ZRx7ecAs0LOq/9FCtKWd4YhzO02LesYJMq8pGjuO6H0NY3zn EnkiQZp9Zzc2Hj9VVhqu/1cHy9JFFYKZAta+lpNHFdjDTY/3aAopfS8yDHb1yx+rYWv8 vGzizv58eidNFIyGK9LEoSEyKk74YWHFeFtLEkSi+4UCox2Ntr9/OdRgyuSAq34xqYg4 V04A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5311h5ZjmadEwHY4WLa+pVMKALj7eNZLC4PiV4+KdgGYqdZkAVcX mkB2gbICsGPXDGxzJliFM2U= X-Google-Smtp-Source: ABdhPJw4NeAk7blZqM4H76ufSjG6E0MZQd5Sa/awFKzq/sPUOMOF7JFd3B5TxpG16Kh9EVIz3siZsA== X-Received: by 2002:a17:90a:3f0f:: with SMTP id l15mr21277275pjc.190.1603722057080; Mon, 26 Oct 2020 07:20:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90a:c90c:: with SMTP id v12ls4676761pjt.1.gmail; Mon, 26 Oct 2020 07:20:53 -0700 (PDT) X-Received: by 2002:a17:902:a584:b029:d6:4a70:3241 with SMTP id az4-20020a170902a584b02900d64a703241mr5806413plb.81.1603722053229; Mon, 26 Oct 2020 07:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603722053; cv=none; d=google.com; s=arc-20160816; b=TitZKUxnwGwnxv2gVOFr5hrbBFCMXQUy8NDRa0EpD2h9dsDJYmH/dMU2KgMX5pZIQy l+cKWMJYmBNOWNohXRRhHF8GQoLjNaDCT1juhDvYrIT/8DcCyqFG3bdIzV5jl4vRKjsl Ne2YNIZhzgL6Q+0rfLNEfM+8k/hBxK4AJKYM1mJEp85GaWekDNYCaND3xFPlNSA74DPY 3OyBxC0igKff87Yc7+JnFL8lqysZFGOuOvq7cWxnhEvj7hGueh/uXEvS5vislW1NAc9f /GFnjNC4J5l25kRWWxR7hsZEnQelUdWOFoqIs1BmAqU5uFKp1/OZS4OW+sfBRfPElm+i jANQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=AVGKtJMEqzh3EBmjIlCaPf+/GxSlpEQQSrvZoM/x9IM=; b=a8LlaIVrGCylwTOUsYh38ntof5miCZw10S0bwvNK1TIMyVMA9ZMZU5F4Bhvt+LnYE8 KxtDlabiTKw5H9X73O8fJtzthaTZBUBQsu1TisytroMjA4Ce8oEaFElXRdTDxrq6xgWI v3DYt/oi4Qd+3hJ4Xci9YPsZ42G/gGUt8kYTuCyDVEqxQ4MztalYPt68LDWVMk3GfJDv grcXjtxLXoov/CsW67goTjEM2RG9uP4m9y/5LJHKt/4Bqi4KYLWzXoJaKKpjMJknlAgj anuhzoQTLQoESO8YMxPKmk2VQRTlL9dOoNKwfEmv3NGAmiVHkmNAbnq7H7qjfmmlOLM2 3SEA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@lazerware-com.20150623.gappssmtp.com header.s=20150623 header.b=CiG2LS3r; spf=neutral (google.com: 2607:f8b0:4864:20::a2f is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) smtp.mailfrom=leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org Original-Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com. [2607:f8b0:4864:20::a2f]) by gmr-mx.google.com with ESMTPS id a2si417755pjo.2.2020.10.26.07.20.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Oct 2020 07:20:52 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:4864:20::a2f is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) client-ip=2607:f8b0:4864:20::a2f; Original-Received: by mail-vk1-xa2f.google.com with SMTP id z10so2003975vkn.0 for ; Mon, 26 Oct 2020 07:20:52 -0700 (PDT) X-Received: by 2002:a1f:6014:: with SMTP id u20mr17471390vkb.9.1603722050655; Mon, 26 Oct 2020 07:20:50 -0700 (PDT) In-Reply-To: <3bc5bbdf-7e0e-4b04-921b-660554fafcb4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@lazerware-com.20150623.gappssmtp.com header.s=20150623 header.b=CiG2LS3r; spf=neutral (google.com: 2607:f8b0:4864:20::a2f is neither permitted nor denied by best guess record for domain of leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org) smtp.mailfrom=leonardr-bM6h3K5UM15l57MIdRCFDg@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:26571 Archived-At: --000000000000260c2a05b293a3f7 Content-Type: text/plain; charset="UTF-8" My setup for VSCode and Haskell is working fine - though I do all the building myself on the command line/terminal (but that's only because I haven't setup the debug configs). I have the following Haskell extensions installed in VSCode: - Haskell (1.2) - Haskell GHCi Debug Adapter (0.25) - Haskell Syntax Highlighting (3.3) - Haskell-linter (0.0.6) - Haskelly (0.5.5) Not sure if I need all, but that's what I have... Leonard On Mon, Oct 26, 2020 at 10:06 AM 'Johannes Aram Unruh' via pandoc-discuss < pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > Thank you for your response. I will take a look at the > discourse.haskell.org. > > Regarding the "Paths_*" module: > I did that already using ```stack build```. But this command installs this > file into > ```./.stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/pandoc/autogen/Paths_pandoc.hs``` > in my case. So my guess would be that this is the reason for the VSCode not > finding that file. Where should I copy it to in ordere to make this work? > > Best regards, > > Johannes > > Albert Krewinkel schrieb am Montag, 26. Oktober 2020 um 14:55:38 UTC+1: > >> Hello Johannes, >> >> 'Johannes Aram Unruh' via pandoc-discuss writes: >> >> > I am rather new to Haskell and I am trying to set up a dev environment >> > using VSCode and and the "Haskel" extension relying on the "Haskell >> > Language Server". >> > I can not get the VSCode to properly work with the pandoc repo. >> > Autocomplete doesn't work and going to definitions does neither. >> > Can someone tell me what a good setup would look like and what best >> > practices would be. >> >> Thanks for your interest in pandoc development! I do not have much >> experience with VSCode, but the Haskell discourse forum would be a good >> place to get more information: >> >> > Also I do not seem to have *Paths_pandoc *in the source code when I >> clone >> > it. VSCode tells me it cant finde the import. >> >> The `Paths_*` packages are auto-generated by cabal during compilation: >> < >> https://cabal.readthedocs.io/en/3.4/cabal-package.html#accessing-data-files-from-package-code> >> >> Apparently this is tripping the VSCode plugin up. It might help to >> compile the project at least once. >> >> Cheers, >> Albert >> >> -- >> Albert Krewinkel >> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 >> > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/3bc5bbdf-7e0e-4b04-921b-660554fafcb4n%40googlegroups.com > > . > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3%2B8aj_3panz3a3gm6j%2Bn8fR6co4xbLFC8x_44u9n-iVOw%40mail.gmail.com. --000000000000260c2a05b293a3f7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My setup for VSCode and Haskell is working fine - though I= do all the building myself on the command line/terminal (but that's on= ly because I haven't setup the debug configs).

I hav= e the following Haskell extensions installed in VSCode:
- Haskell= (1.2)
- Haskell GHCi Debug Adapter (0.25)
- Haskell Sy= ntax Highlighting (3.3)
- Haskell-linter (0.0.6)
- Hask= elly (0.5.5)

Not sure if I need all, but that'= s what I have...

Leonard

On Mon, Oct 26, 2020= at 10:06 AM 'Johannes Aram Unruh' via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org= > wrote:
= Thank you for your response. I will take a look at the discourse.haskell.org.

Re= garding the "Paths_*" module:
I did that already using ```stac= k build```. But this command installs this file into ```./.stack-work/dist/= x86_64-osx/Cabal-2.4.0.1/build/pandoc/autogen/Paths_pandoc.hs``` in my case= . So my guess would be that this is the reason for the VSCode not finding t= hat file. Where should I copy it to in ordere to make this work?

Best regards,

Johannes

Albert = Krewinkel schrieb am Montag, 26. Oktober 2020 um 14:55:38 UTC+1:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">Hello Johannes,

'Johannes Aram Unruh' via pandoc-discuss writes:

> I am rather new to Haskell and I am trying to set up a dev environ= ment
> using VSCode and and the "Haskel" extension relying on t= he "Haskell
> Language Server".
> I can not get the VSCode to properly work with the pandoc repo.
> Autocomplete doesn't work and going to definitions does neithe= r.
> Can someone tell me what a good setup would look like and what bes= t
> practices would be.

Thanks for your interest in pandoc development! I do not have much
experience with VSCode, but the Haskell discourse forum would be a good
place to get more information: <https://discourse.haskell.org&= gt;

> Also I do not seem to have *Paths_pandoc *in the source code when = I clone
> it. VSCode tells me it cant finde the import.

The `Paths_*` packages are auto-generated by cabal during compilation:
<h= ttps://cabal.readthedocs.io/en/3.4/cabal-package.html#accessing-data-files-= from-package-code>
Apparently this is tripping the VSCode plugin up. It might help to
compile the project at least once.

Cheers,
Albert

--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/3bc5bbdf-7e0e-4b04-921b-660554f= afcb4n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://g= roups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3%2B8aj_3panz3a3gm6j%2Bn8fR= 6co4xbLFC8x_44u9n-iVOw%40mail.gmail.com.
--000000000000260c2a05b293a3f7--